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

Provide quick hint on how to enable debug logging into a file #2785

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yarikoptic
Copy link
Contributor

I had to go online to find this -- nothing in --help hinted on how to do it

I had to go online to find this -- nothing in --help hinted on how to do it
@yarikoptic yarikoptic requested a review from hluk as a code owner July 17, 2024 23:27
Copy link
Owner

@hluk hluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch.

Comment on lines 122 to +123
+ Scriptable::tr(" - Use ? for MIME to print available MIME types (default is \"text/plain\").");
+ Scriptable::tr(" - Use COPYQ_LOG_LEVEL=DEBUG and COPYQ_LOG_FILE=\"$HOME/copyq.log\" env vars to enable logging");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the syntax error (remove old semicolon), missing line break and more consistent format:

Suggested change
+ Scriptable::tr(" - Use ? for MIME to print available MIME types (default is \"text/plain\").");
+ Scriptable::tr(" - Use COPYQ_LOG_LEVEL=DEBUG and COPYQ_LOG_FILE=\"$HOME/copyq.log\" env vars to enable logging");
+ Scriptable::tr(" - Use ? for MIME to print available MIME types (default is \"text/plain\").") + "\n"
+ Scriptable::tr(" - Use COPYQ_LOG_LEVEL=DEBUG and COPYQ_LOG_FILE=\"$HOME/copyq.log\"\n"
" environment variables to enable more verbose logging.");

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.

2 participants