Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
mde
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09abc7ad
authored
Sep 18, 2017
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bugfix: no logger prints were shown docker's console. added the correct log4j.xml file.
parent
805e0383
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
Dockerfile
cfg/log4j.xml
docker-compose.yml
Dockerfile
View file @
09abc7ad
FROM
municipalitybank.com:5050/ipgallery.common.java/microservice
FROM
municipalitybank.com:5050/ipgallery.common.java/microservice
COPY
cfg/log4j.xml /logs/conf/
COPY
build/libs/mde-*.jar /usr/
COPY
build/libs/mde-*.jar /usr/
COPY
cfg/config.properties /opt/mcx/config/
COPY
cfg/config.properties /opt/mcx/config/
COPY
cfg/*.json /opt/mcx/config/
COPY
cfg/*.json /opt/mcx/config/
...
...
cfg/log4j.xml
0 → 100644
View file @
09abc7ad
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration
debug=
"true"
xmlns:log4j=
'http://jakarta.apache.org/log4j/'
>
<appender
name=
"console"
class=
"org.apache.log4j.ConsoleAppender"
>
<layout
class=
"org.apache.log4j.PatternLayout"
>
<param
name=
"ConversionPattern"
value=
"%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n"
/>
</layout>
</appender>
<appender
name=
"file"
class=
"org.apache.log4j.RollingFileAppender"
>
<param
name=
"append"
value=
"false"
/>
<param
name=
"maxBackupIndex"
value=
"5"
/>
<param
name=
"maxFileSize"
value=
"2MB"
/>
<param
name=
"file"
value=
"/logs/LogEvents.log"
/>
<layout
class=
"org.apache.log4j.PatternLayout"
>
<param
name=
"ConversionPattern"
value=
"%d{yyyy-MM-dd HH:mm:ss} %-5p - %m%n"
/>
</layout>
</appender>
<root>
<!-- Levels: off, fatal, error, warn, info, debug, trace, all -->
<level
value=
"info"
/>
<appender-ref
ref=
"console"
/>
</root>
</log4j:configuration>
\ No newline at end of file
docker-compose.yml
View file @
09abc7ad
...
@@ -2,12 +2,12 @@ mde:
...
@@ -2,12 +2,12 @@ mde:
environment
:
environment
:
IPG_ENV_PARAMS
:
"
-Dds.IpAddress=172.16.1.72:8012#
\
IPG_ENV_PARAMS
:
"
-Dds.IpAddress=172.16.1.72:8012#
\
-Dredis.host=172.16.1.151#
\
-Dredis.host=172.16.1.151#
\
-Dmde.cisco.username=
devoperator11
@cdp.com#
\
-Dmde.cisco.username=
operator14
@cdp.com#
\
-Dmde.cisco.password=
ejlFK0g9OSRK
#
\
-Dmde.cisco.password=
R0AxOENicTQ=
#
\
-Dmde.cisco.clientId=a27b18484c3c4e08a7c193e42c639347#
\
-Dmde.cisco.clientId=a27b18484c3c4e08a7c193e42c639347#
\
-Dmde.cisco.clientSecret=b863de8f453c4a05A88126F45B958CF1"
-Dmde.cisco.clientSecret=b863de8f453c4a05A88126F45B958CF1"
USE_DEBUG
:
"
yes"
USE_DEBUG
:
"
yes"
image
:
172.16.1.212
:5050/mcx/mde
image
:
municipalitybank.com
:5050/mcx/mde
ports
:
ports
:
-
"
8200:8000"
-
"
8200:8000"
-
"
50040:50040"
-
"
50040:50040"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment