Hi,
Does someone know how logs for the VA are configured?
From the document, it is saying that logs can be configured from the API. When I run the query
https://{{idn_OrgID}}.api.identitynow.com/beta/managed-clusters/***/log-config, I recieved the Status “204 No content” but I can see logs appearing in ccg.log files.
When I opened the log4j4.properties file, nothing is configured for the log file ccg.log. I am using the default configuration file:
#
# Copyright (C) 2020 SailPoint Technologies, Inc. All rights reserved.
#
status = info
monitorInterval = 60
packages = sailpoint.logging
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = CcgJsonEventLayout
# appender.console.layout.pattern=%d{ISO8601} %5p %t %c{4}:%L - %m%n
### set log levels - for more verbose logging change 'warn' to 'debug' for most verbose logging use 'trace' ##
rootLogger.level = warn
rootLogger.appenderRef.stdout.ref = STDOUT
From public information: a CCG log file will be zipped and replaced with a new log file on a nightly basis after its file size reaches 512mb. However, If CCG debug mode is enabled logging will stay contained within a single log file regardless of file size until debug mode has been disabled again. If you notice large CCG file sizes on your VA and you are not actively debugging an issue please refer to our Virtual Appliance Logging document for instructions on how to de-activate debug mod
In my case there is no rolling, no archive and the file size is 256mb.
It looks like my logs are in debug mode even when the option “Enable Debugging” from the VA is set to false.
My question is simple, how and where the logs, especially the file ccg.log are configured?
Please do not refer to this article which only explained configuration for STDOUT:
Does someone has an idea onthe purpose of the file log.json which has only 1 line?
“ccg_log4j”: “warn”