New issue 200 by pekka.klarck: Log messages with WARN level should be
automatically written to syslog
http://code.google.com/p/robotframework/issues/detail?id=200
1) It would be useful if libraries could write warnings so that they are
shown on the top of the log file (i.e. Execution errors section). Currently
this is possible from Python libraries using Robot's internal APIs but
that's not very nice.
2) WARN log level is currently pretty useless because these messages are
only seen if the keyword writing them is opened.
=>
Let's change WARN log level so that messages logged using it are also
written to syslog where they are automatically written to "execution
errors".
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
It would also be possible to add new ERROR log level and write these
message to
syslog too. I'm afraid that it would be confusing to have FAIL and ERROR
levels
inside keywords, though, and a situation where a keyword has ERROR messages
but still
passes would be really confusing. It's probably better to only change WARN
level
first and see is there need for ERROR after that.
I agree: WARN is rather useless since it is essentially invisible and ERROR
would be
confusing. I'd recommend NOT adding an ERROR log level.