Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use property to resolve a log output directory in logback.xml #126

Closed
2 tasks done
ghost opened this issue Feb 26, 2015 · 0 comments
Closed
2 tasks done

Use property to resolve a log output directory in logback.xml #126

ghost opened this issue Feb 26, 2015 · 0 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Feb 26, 2015

now setting "./log" fixed directory.
it is an error on Linux.(not root user)

13:25:51,853 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[MONITORING_LOG_FILE] - File property is set to [log/projectName-monitoring.log]
13:25:51,853 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[MONITORING_LOG_FILE] - Failed to create parent directories for [/log/projectName-monitoring.log]

trying to output a logfile to /log directory

should be use property in logback.xml.
e.g. ${app.log.dir}

<file>${app.log.dir:-log}/projectName-application.log</file>

Fixed Versions

  • 5.0.1
  • 5.1.0
@ghost ghost added the type: improvement label Feb 26, 2015
@ghost ghost added this to the 5.0.1 milestone Feb 26, 2015
@kazuki43zoo kazuki43zoo changed the title should be changed property of output directory in logback.xml Use property to resolve a log output directory in logback.xml Feb 28, 2015
ghost pushed a commit that referenced this issue Apr 24, 2015
Use property to resolve a log output directory. #126
iwanagah added a commit that referenced this issue Apr 24, 2015
ghost pushed a commit that referenced this issue Apr 24, 2015
Use property to resolve a log output directory. #126
@ghost ghost closed this as completed Apr 24, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant