SviridoffA commented on issue #10648:
URL: https://github.com/apache/cloudstack/issues/10648#issuecomment-2809169561
I executed sed -i "s/INFO/DEBUG/g" /etc/cloudstack/agent/log4j-cloud.xml and
see DEBUG messages even without restart agent.
here a fragment of console connection (node4)
```
2025-04-16 13:29:46,730 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-4:null) (logid:8aa1682b) Processing command:
com.cloud.agent.api.GetHostStatsCommand
2025-04-16 13:30:02,157 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-1:null) (logid:0321b531) Processing command:
com.cloud.agent.api.GetHostStatsCommand
2025-04-16 13:30:03,301 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:ad81f47e) Request:Seq
4-1755277954767687211: { Cmd , MgmtId: 345049528973, via: 4, Ver: v1, Flags:
10001
1,
[{"com.cloud.agent.api.GetVncPortCommand":{"id":"21","name":"i-2-21-VM","wait":"0","bypassHostMaintenance":"false"}}]
}
2025-04-16 13:30:03,301 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:ad81f47e) Processing command:
com.cloud.agent.api.GetVncPortCommand
2025-04-16 13:30:03,302 DEBUG [agent.properties.AgentPropertiesFileHandler]
(agentRequest-Handler-3:null) (logid:ad81f47e) Property [hypervisor.uri] has
empty or null value. Using default valu
e [null].
2025-04-16 13:30:03,302 DEBUG [kvm.resource.LibvirtConnection]
(agentRequest-Handler-3:null) (logid:ad81f47e) Looking for libvirtd connection
at: qemu:///system
2025-04-16 13:30:04,184 DEBUG [kvm.resource.LibvirtVMDef]
(agentRequest-Handler-3:null) (logid:ad81f47e) Using informed label [hdc] for
volume [null].
2025-04-16 13:30:04,185 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:ad81f47e) Seq 4-1755277954767687211: {
Ans: , MgmtId: 345049528973, via: 4, Ver: v1, Flags: 10, [{"com.c
loud.agent.api.GetVncPortAnswer":{"address":"10.66.50.54","port":"5900","result":"true","wait":"0","bypassHostMaintenance":"false"}}]
}
2025-04-16 13:30:23,415 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-5:null) (logid:0d0fceb3) Processing command:
com.cloud.agent.api.GetVolumeStatsCommand
2025-04-16 13:30:23,415 DEBUG [kvm.resource.LibvirtConnection]
(agentRequest-Handler-5:null) (logid:0d0fceb3) Looking for libvirtd connection
at: qemu:///system
2025-04-16 13:30:23,569 DEBUG [kvm.storage.LinstorStoragePool]
(Thread-1:null) (logid:) Executing command [drbdsetup events2 --now ].
2025-04-16 13:30:23,576 DEBUG [kvm.storage.LinstorStoragePool]
(Thread-1:null) (logid:) Successfully executed process [2444512] for command
[drbdsetup events2 --now ].
2025-04-16 13:30:23,638 DEBUG [kvm.storage.LinstorStorageAdaptor]
(agentRequest-Handler-5:null) (logid:0d0fceb3) Linstor getStoragePool:
90341db9-2f21-4226-bb72-5807b71db3e6 -> false
2025-04-16 13:30:23,639 DEBUG [kvm.storage.LinstorStorageAdaptor]
(agentRequest-Handler-5:null) (logid:0d0fceb3) Linstor: getPhysicalDisk for
5faf5d81-df40-4999-8365-09a6ada27c7b
2025-04-16 13:30:23,645 DEBUG [datastore.util.LinstorUtil]
(agentRequest-Handler-5:null) (logid:0d0fceb3) getDevicePath:
cs-5faf5d81-df40-4999-8365-09a6ada27c7b -> /dev/drbd1018
```
--
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]