Hi

I try to log output from syncevo-http-server with
--log-config=/tmp/syncevo.log but I get errors:

~$ /usr/bin/syncevo-http-server --start-dbus-session
--log-config=/tmp/syncevo.log http://localhost:9000/syncevolution
Traceback (most recent call last):
  File "/usr/bin/syncevo-http-server", line 533, in <module>
    main()
  File "/usr/bin/syncevo-http-server", line 400, in main
    logging.config.fileConfig(options.logConfig)
  File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'


Without --log-config gives no error, and synchronization works:

~$ /usr/bin/syncevo-http-server --start-dbus-session
http://localhost:9000/syncevolution
[INFO] syncevo-http: new SyncML session for 192.168.178.34
[INFO] sync: /usr/lib/syncevolution/syncevo-dbus-server: ready to run
[INFO] sync: matched deviceID syncevolution-224...

The file /tmp/syncevo.log exists and is worl-readable/writable (mode 666).

I do not have a version number of syncevo-http-server, but I recently
installed it from the package sources (Ubuntu precise, 12.04.2).

Any idea how I get --log-config to work?

Best

Al_

PS: I encountered this while I try to move from manually started
syncevo-http-server [fully functional] to inetd [not working] on a headless
ubuntu server

_______________________________________________
SyncEvolution mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to