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

Make logs configurable #1163

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Make logs configurable #1163

merged 3 commits into from
Aug 4, 2023

Conversation

tresf
Copy link
Contributor

@tresf tresf commented Aug 3, 2023

Adds the ability to configure logs via environment variable or via qz-tray.properties.

QZ_OPTS="-Dlog.disable=true"
QZ_OPTS="-Dlog.size=2097152"
QZ_OPTS="-Dlog.rotate=9"

OR


#Thu Jul 06 21:55:37 EDT 2023
log.size=2097152
log.rotate=9
# log.disable=true


ca.storepass=abcdefghijklmnop
wss.host=0.0.0.0
wss.storepass=abcdefghijklmnop
wss.alias=qz-tray
ca.alias=root-ca
ca.keystore=/Library/Application Support/qz/ssl/root-ca.p12
wss.keystore=/Library/Application Support/qz/ssl/qz-tray.p12

@tresf tresf requested a review from akberenz August 3, 2023 04:44
@tresf
Copy link
Contributor Author

tresf commented Aug 3, 2023

QZ_OPTS="-Dlog.size=2097152"
image

@tresf tresf merged commit 4e3cbe7 into master Aug 4, 2023
12 checks passed
@tresf tresf deleted the logging-features branch August 4, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to configure log file size Ability to disable logs
1 participant