Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Orion/How Tos/Turn on Server Logging"
(New page: * Find your orion.ini file your current orion installation * Add a line like this, with your own path: -Dlogback.configurationFile=/work/orion/logback-test.xml * put this goop in that ...) |
|||
Line 24: | Line 24: | ||
*Start orion, enjoy | *Start orion, enjoy | ||
+ | |||
+ | [[Category:Orion|How To]] | ||
+ | [[Category:Orion/How To|Server]] |
Latest revision as of 14:45, 7 November 2013
- Find your orion.ini file your current orion installation
- Add a line like this, with your own path:
-Dlogback.configurationFile=/work/orion/logback-test.xml
- put this goop in that file:
<configuration> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>myApp.log</file> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</Pattern> </layout> </appender> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%msg%n</Pattern> </layout> </appender> <root level="debug"> <appender-ref ref="FILE" /> <appender-ref ref="STDOUT" /> </root> </configuration>
- Start orion, enjoy