Commit Graph
9 Commits
Author SHA1 Message Date
Simon McVittie 5d77ff680a services/presence: Stop using deprecated keyword argument named_service 2007-05-15 15:20:02 +01:00
Simon McVittie 4b26840333 sugar.presence.presenceservice, services/presence: Use named loggers.
This causes events in the log to be annotated with the module that emitted the
message.

Before: DEBUG - root: Starting up...
After: DEBUG - s-p-s.server_plugin: Starting up...

I've used a log domain of "sugar.presence..." for the client library and
e.g. "s-p-s.activity" for the service internals.
2007-05-15 14:58:15 +01:00
Simon McVittie 2216f5095d Use ExportedGObject from dbus-python rather than reimplementing it 2007-05-11 17:27:36 -04:00
Simon McVittie 00e8348c73 Set _shared_activity correctly when we share an activity successfully 2007-05-09 16:32:16 +01:00
Simon McVittie 5fc1cdefeb When joining an activity that's already been joined, call a callback which exists 2007-05-09 15:05:17 +01:00
Simon McVittie 0d1b2bef13 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-08 17:07:44 +01:00
Simon McVittie 1f024ff6e4 sugar.logger: Use formatters properly when interfacing with logging.
This fixes display of tracebacks in the logs, and adds logger names
2007-05-08 16:24:48 +01:00
Simon McVittie 05d7ed5084 sugar.presence.presenceservice: don't mix up local variable 'activity' and imported module 'activity' 2007-05-08 16:23:07 +01:00
Simon McVittie 60d6dcd618 sugar/logger.py: interpolate %x parameters in messages from the logging framework 2007-05-08 11:49:52 +01:00