Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign updisable excessive (all) debug output in gui agent and guid #367
Comments
marmarek
added this to the Release 1 Beta 3 milestone
Mar 8, 2015
marmarek
added
bug
C: gui-virtualization
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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).
|
Comment by joanna on 3 Oct 2011 13:05 UTC |
marmarek
added
the
P: major
label
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 4 Oct 2011 08:59 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=e3504e339ce59493225af1a96b2fcc6e417ab852
http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=a33ff33dd32f16b3027cad9b6478352193099b57
http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=6f50bc4b22e70cb7c5ccf1679e60c5d3a30a3818
marmarek
closed this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by joanna on 25 Dec 2011 19:08 UTC |
marmarek
reopened this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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?
|
Comment by marmarek on 26 Dec 2011 19:45 UTC |
marmarek
self-assigned this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by joanna on 27 Dec 2011 09:51 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
closed this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by joanna on 4 Jan 2012 19:04 UTC |
marmarek
reopened this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 4 Jan 2012 19:14 UTC
gui-agent log level was not initialized...
|
Comment by marmarek on 4 Jan 2012 19:14 UTC |
marmarek commentedMar 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