SviridoffA commented on issue #10648:
URL: https://github.com/apache/cloudstack/issues/10648#issuecomment-2806758328
> can you search the agent.log on the kvm host where the vm is running on ?
I opened KVM node and found the virtual machine that’s running on it. I
connected to console of this vm several times. Then I went to
/var/log/cloudstack/agent/agent.log and didn’t find a single line that
contained word “GetVncPort.” After that, I went to
/etc/cloudstack/agent/log4j-cloud.xml and changed the following values:
```
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<level value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
```
```
<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->
<category name="com.cloud">
<priority value="DEBUG"/>
</category>
```
```
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="true">
```
After that, I restarted cloudstack-agent. I connected to the VM console
several more times and still didn’t find “GetVncPort”. Also, I don’t see any
messages with the DEBUG level. Only INFO and WARN.
I ran tail -f and I don’t see agent.log reacting to my console connections.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]