Platform Team/Server Kit/sugar-client: Difference between revisions

No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Note/warning|Caution|The '''sugar-client''' application exits only in [[Deployment_Platform/1.1|1.x]] releases of the [[Deployment Platform]] (originally named as Sugar Server Kit).<br>For the planing 2.0 release, '''sugar-client''' functionality is split into several Shell [[Deployment_Platform/Shell_Plugins|plugins]].}}
== Summary ==
== Summary ==


Line 71: Line 73:
==== Stats configuration ====
==== Stats configuration ====


Stats related configuration is being stored in [[#Configuration|sugar-client.conf]] configuration file in {{Code|[stats]}} section:
After enabling stats gathering (after the first successful server connection), all stats related configuration will be stored in [[#Configuration|sugar-client.conf]] configuration file in {{Code|[stats]}} section. Enable this configuration manually if you need to enable stats gathering before the first connection to the server.


  [stats]
  [stats]
Line 141: Line 143:


== Troubleshooting ==
== Troubleshooting ==
'''Debugging'''
To enable debug logging, add the following lines to [[#Configuration|configuration file]]:
[main]
debug = 3
'''Direct launch'''


In special cases, it is possible to execute sugar-client operations directly, instead of calling DBus service. For that reason, {{Code|-d|--direct}} command-line argument needs to be passed:
In special cases, it is possible to execute sugar-client operations directly, instead of calling DBus service. For that reason, {{Code|-d|--direct}} command-line argument needs to be passed: