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

Load logback for windows #50

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion windows-service/PravegaSensorCollectorApp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
<description>Pravega Sensor Collector collects data from sensors and ingests the data into Pravega streams</description>
<executable>"C:/Program Files/Java/jdk-11/bin/java"</executable>
<arguments>-Xmx512m -jar "windows-service\PSCFiles\pravega-sensor-collector-0.2.15.jar"</arguments>


<!-- Use the below commented tag to load custom logback.xml -->

<!-- <arguments>-Xmx512m -Dlogback.configurationFile=.\logback.xml -jar "windows-service\PSCFiles\pravega-sensor-collector-0.2.15.jar"</arguments> -->

<!-- old log files are truncated when service restarts. Can change logmode to append, roll-by-size and roll-by-time -->
<logmode>reset</logmode>

Expand Down