Skip to content

Commit

Permalink
Fixed creating the log file [#778]
Browse files Browse the repository at this point in the history
 * Set the default loging level to INFO for CX code.
 * No other logging is enabled by default.
  • Loading branch information
mcpierce committed Jun 27, 2021
1 parent a7b465f commit d75fd8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions comixed-app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ spring.liquibase.change-log=classpath:db/liquibase-changelog.xml
spring.jackson.deserialization.fail-on-unknown-properties=false

# Logging
logging.level.root=INFO
logging.level.org.comixedproject=DEBUG
logging.level.org.comixedproject=INFO
2 changes: 1 addition & 1 deletion comixed-release/src/main/assembly/scripts/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SET OPTIONS=%OPTIONS% --logging.level.root=DEBUG
:skip_full_debug

IF "%LOGFILE%" == "" GOTO :skip_logfile
SET OPTIONS=%OPTIONS% --logging.file=%LOGFILE%
SET OPTIONS=%OPTIONS% --logging.file.name=%LOGFILE%
:skip_logfile

IF "%JDBCURL%" == "" GOTO skip_jdbc_url
Expand Down
2 changes: 1 addition & 1 deletion comixed-release/src/main/assembly/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if $FULL_DEBUG; then
fi

if [[ $LOGFILE ]]; then
JAROPTIONS="${JAROPTIONS} --logging.file=${LOGFILE}"
JAROPTIONS="${JAROPTIONS} --logging.file.name=${LOGFILE}"
fi

if [[ $JDBCURL ]]; then
Expand Down

0 comments on commit d75fd8e

Please sign in to comment.