Changes between Initial Version and Version 2 of Ticket #1462


Ignore:
Timestamp:
10/06/2009 18:16:26 (15 years ago)
Author:
sascha_silbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1462

    • Property Cc alsroot added
  • Ticket #1462 – Description

    initial v2  
    11{{{~/.sugar/debug}}} currently gets sourced (interpreted) as a shell script, which by definition means using a shell to do it.
    2 To get debug logs of our DBus services (data store, presence service), we'd need to source {{{~/.sugar/debug}}} before starting dbus-launch. For "native" logins (not sugar-emulator) that's out of our control as dbus-launch is usually started by some distro script before running sugar. So {{{~/.sugar/debug}}} is currently of very limited use (before #1440 was fixed it was the same way for sugar-emulator as well).
     2To get debug logs of our DBus services (data store, presence service), we'd need to source {{{~/.sugar/debug}}} before starting dbus-launch. For "native" logins (not sugar-emulator) that's out of our control as dbus-launch is usually started by some distro script before running sugar. So {{{~/.sugar/debug}}} is currently of very limited use (before #927 was fixed it was the same way for sugar-emulator as well).
    33
    44For the current purpose (setting the log level) easier methods exist (regular Sugar config mechanism, system-provided mechanisms for setting environment variables) that don't require sugar to use a shell and work in all cases. By using the Sugar config mechanism and adding a setting to the Control Panel we could even let "normal" users enable debug logs (they don't have to type magic incantations in Terminal and use an editor they're not comfortable with).