On Sun, 2013-04-21 at 12:46 +0000, Al_ wrote:
> I try to log output from syncevo-http-server with
> --log-config=/tmp/syncevo.log but I get errors:


  --log-config=LOGCONFIG
                        configure logging via Python logging config file;
                        --debug and --quiet override the log level in the root
                        logger

In other words, the parameter does not take the log file name as value.
It's a bit more complicated (and powerful):
http://docs.python.org/2/howto/logging.html

The option was added because it was easy to implement and then offers
more flexibility than options which implement a subset of the logging
config file features. If it's more confusing than useful then I could
remove it.

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

If you just want to redirect the output as it is, then I suggest using
normal shell output redirection.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


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

Reply via email to