You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Marcus Sorensen (JIRA)" <ji...@apache.org> on 2013/02/27 19:23:14 UTC
[jira] [Reopened] (CLOUDSTACK-1267) KVM's cloudstack-agent service
doesn't log (log4j)
[ https://issues.apache.org/jira/browse/CLOUDSTACK-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Sorensen reopened CLOUDSTACK-1267:
-----------------------------------------
I'm still having issues with agent logging. I still have to rename /etc/cloudstack/agent/log4j-cloud.xml to log4j.xml get output. I get a few minor errors in cloudstack-agent.err, but no DEBUG or INFO from s_logger calls in the code. If I move the file, then I get double output in /etc/cloudstack/agent/agent.log and /etc/cloudstack/agent/cloudstack-agent.out
> KVM's cloudstack-agent service doesn't log (log4j)
> --------------------------------------------------
>
> Key: CLOUDSTACK-1267
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1267
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: KVM
> Affects Versions: 4.1.0
> Environment: KVM centos 6.3
> Reporter: Marcus Sorensen
> Assignee: Kelven Yang
> Fix For: 4.1.0
>
>
> cloudstack-agent jsvc service doesn't log anymore. If I move /etc/cloudstack/agent/log4j-cloud.xml to /etc/cloudstack/agent/log4j.xml it works. Obviously, I have no logs to show, but if I run jsvc manually in debug I see:
> log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.params.DefaultHttpParams).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira