cloudstack/services/console-proxy/server/src/main/java/com/cloud/consoleproxy
Bernardo De Marco Gonçalves 501d8c1e09
Add logs to CPVM connection process (#8924)
* increment cpvm connection logs

* remove sourceIp variable

* increment cpvm connection logs

* extract duplicate error messages to variables

* change logs level from trace to debug in authenticateToVNCServer

* add logs in trace level inside of connection loop

* remove redundant trace log

* add logs to ConsoleProxyNoVNCHandler class

* retrieve client source IP

* add periods to log messages

* change log levels from warn to error inside of catch blocks

* add client IP to successful authentication log

* replace concatenation with String.format()

* remove String.format() and use log4j2 new features instead

* remove String.format() and use log4j2 new features instead

* apply Daan's suggestion

Co-authored-by: dahn <daan.hoogland@gmail.com>

* resolve conflicts

* fix logs with three parameters

* get correct client IP

* use log4j dependencies directly

* apply winterhazel's suggestion

Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>

* remove log proxy

* address winterhazel's suggestions on ConsoleProxyNoVncClient class

* address winterhazel's suggestions on ConsoleProxyNoVNCHandler class

* address winterhazel's suggestions on ConsoleProxyNoVNCHandler class

Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>

---------

Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
2024-09-09 15:39:42 -03:00
..
rdp Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
util Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
vnc Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
websocket Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
AjaxFIFOImageCache.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
AuthenticationException.java Sync precommit config from main (#7732) 2023-07-07 11:18:16 +02:00
ConsoleProxy.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyAjaxHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyAjaxImageHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyAuthenticationResult.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ConsoleProxyBaseServerFactoryImpl.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyClient.java console: Console access enhancements (#6577) 2022-09-14 12:39:59 +05:30
ConsoleProxyClientBase.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
ConsoleProxyClientListener.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ConsoleProxyClientParam.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyClientStatsCollector.java Add console session cleanup task (#7132) 2023-02-01 16:53:54 +01:00
ConsoleProxyCmdHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyGCThread.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
ConsoleProxyHttpHandlerHelper.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyMonitor.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyNoVNCHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyNoVNCServer.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyNoVncClient.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyPasswordBasedEncryptor.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
ConsoleProxyRdpClient.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
ConsoleProxyResourceHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxySecureServerFactoryImpl.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
ConsoleProxyServerFactory.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ConsoleProxyThumbnailHandler.java Add logs to CPVM connection process (#8924) 2024-09-09 15:39:42 -03:00
ConsoleProxyVncClient.java Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
InputEventType.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30