[ 
https://issues.apache.org/jira/browse/JCR-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated JCR-4303:
--------------------------------
    Description: 
Apparently, the system properties holding the names are set too late, thus the 
two log files are created as {{jackrabbit.log_IS_UNDEFINED}} and 
{{jetty.log_IS_UNDEFINED}}.

See 
<[https://www.mkyong.com/logging/logback-set-log-file-name-programmatically/]>.


  was:
Apparently, the system properties holding the names are set too late, thus the 
two log files are created as {{jackrabbit.log_IS_UNDEFINED}} and 
{{jetty.log_IS_UNDEFINED}}.

See 
<[https://www.mkyong.com/logging/logback-set-log-file-name-programmatically/]>.

{{2018-05-18 12:07:53.081 DEBUG [main] Log.java:162 Logging to 
Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog}}
{{ 2018-05-18 12:07:53.120 DEBUG [main] ServletHandler.java:1358 
filterNameMap={}}}
{{ 2018-05-18 12:07:53.120 DEBUG [main] ServletHandler.java:1359 
pathFilters=null}}
{{ 2018-05-18 12:07:53.120 DEBUG [main] ServletHandler.java:1360 
servletFilterMap=null}}
{{ 2018-05-18 12:07:53.120 DEBUG [main] ServletHandler.java:1361 
servletPathMap=}}{{{/repository.properties=org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet-694abbdc}}}{{2018-05-18
 12:07:53.120 DEBUG [main] ServletHandler.java:1362 
servletNameMap=}}{{{org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet-694abbdc=org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet-694abbdc}}}


> jackrabbit-standalone fails to set log file names for jackrabbit and jetty
> --------------------------------------------------------------------------
>
>                 Key: JCR-4303
>                 URL: https://issues.apache.org/jira/browse/JCR-4303
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-standalone
>            Reporter: Julian Reschke
>            Priority: Minor
>
> Apparently, the system properties holding the names are set too late, thus 
> the two log files are created as {{jackrabbit.log_IS_UNDEFINED}} and 
> {{jetty.log_IS_UNDEFINED}}.
> See 
> <[https://www.mkyong.com/logging/logback-set-log-file-name-programmatically/]>.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to