Merge lp:~mikemc/unity-scope-click/log-improvements into lp:unity-scope-click
Proposed by
Mike McCracken
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | dobey | ||||
Approved revision: | 101 | ||||
Merged at revision: | 102 | ||||
Proposed branch: | lp:~mikemc/unity-scope-click/log-improvements | ||||
Merge into: | lp:unity-scope-click | ||||
Diff against target: |
104 lines (+19/-7) 3 files modified
src/Makefile.am (+1/-1) src/click-scope-main.vala (+7/-3) src/click-scope.vala (+11/-3) |
||||
To merge this branch: | bzr merge lp:~mikemc/unity-scope-click/log-improvements | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
dobey (community) | Approve | ||
Review via email:
|
Commit message
- Add timestamps to log messages and ensure that all debug() messages are written to disk.
Description of the change
- Add timestamps to log messages and ensure that all debug() messages are written to disk.
Adds timestamps to messages - both those written to screen if G_MESSAGES_
Fixes typo in makefile to correctly set G_LOG_DOMAIN, and uses domain to ensure that log file only gets sent messages from our code.
To post a comment you must log in.
30 - Log.set_handler ("unity- scope-click" , LogLevelFlags. LEVEL_MASK, LEVEL_MASK,
31 + Log.set_handler (null, LogLevelFlags.
I don't understand why you made this change. You want log messages from all the underlying libraries to go to the file too?
53 internal async Unity.Preview build_app_ preview( Unity.ScopeResu lt result) { app_preview" ); metadata. get(METADATA_ APP_ID) .get_string( );
54 + debug ("build_
55 var app_id = result.
Different spacing here on the added line.