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

disable excessive (all) debug output in gui agent and guid #367

Closed
marmarek opened this Issue Mar 8, 2015 · 8 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 3 Oct 2011 13:02 UTC
When using with some programs that often refresh the window bitmaps (e.g. bochs) the amount of debug output printed by gui agent is huge and affects cpu performance significantly.

Besides, it's a usual practice to not output debug info, unless started with some option. So, I think we should implement a '--debug' switch for gui agent and gui daemon.

Migrated-From: https://wiki.qubes-os.org/ticket/367

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 3 Oct 2011 13:05 UTC
While at it, we should also rename the logs created by guid to something like guid.X.log (currently it is qubes.X.log).

Member

marmarek commented Mar 8, 2015

Comment by joanna on 3 Oct 2011 13:05 UTC
While at it, we should also rename the logs created by guid to something like guid.X.log (currently it is qubes.X.log).

@marmarek marmarek added the P: major label Mar 8, 2015

@marmarek marmarek closed this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 25 Dec 2011 19:08 UTC
In pre3 there is still plenty of stuff logged to /var/log/qubes/gui_agent.log -- those should be off by default. Same for Dom0 -- still too much stuff as for the production mode, please disable those by default.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 25 Dec 2011 19:08 UTC
In pre3 there is still plenty of stuff logged to /var/log/qubes/gui_agent.log -- those should be off by default. Same for Dom0 -- still too much stuff as for the production mode, please disable those by default.

@marmarek marmarek reopened this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 26 Dec 2011 19:45 UTC
Then bugreports will be almost useless.
What specific message do you thing is unneeded for production mode?

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 26 Dec 2011 19:45 UTC
Then bugreports will be almost useless.
What specific message do you thing is unneeded for production mode?

@marmarek marmarek self-assigned this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 27 Dec 2011 09:51 UTC
I think that logging of events that are more fine grained that window creation/destroy/manipulation should be disabled. So, events such as key-presses or mouse events, or pixmap updates, etc. So, generally, as far as I don't create, resize, etc, windows, there should not be (almost) anything logged. Currently gui_agents logs lots of stuff, such as move events, which makes the logs very huge BTW.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 27 Dec 2011 09:51 UTC
I think that logging of events that are more fine grained that window creation/destroy/manipulation should be disabled. So, events such as key-presses or mouse events, or pixmap updates, etc. So, generally, as far as I don't create, resize, etc, windows, there should not be (almost) anything logged. Currently gui_agents logs lots of stuff, such as move events, which makes the logs very huge BTW.

@marmarek marmarek closed this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 4 Jan 2012 19:04 UTC
Mouse movement events are still being logged, which makes the gui agent log files to be several MB is size, and (I guess) also contribute to increased CPU utilization while scrolling e.g. in PDF files.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 4 Jan 2012 19:04 UTC
Mouse movement events are still being logged, which makes the gui agent log files to be several MB is size, and (I guess) also contribute to increased CPU utilization while scrolling e.g. in PDF files.

@marmarek marmarek reopened this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 4 Jan 2012 19:14 UTC
gui-agent log level was not initialized...

http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=0bacc3ee255bd0ecbb29b3c286ae6e271e752021

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 4 Jan 2012 19:14 UTC
gui-agent log level was not initialized...

http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=0bacc3ee255bd0ecbb29b3c286ae6e271e752021

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment