Package com.atlassian.bamboo.utils
Class LogUtils
- java.lang.Object
-
- com.atlassian.bamboo.utils.LogUtils
-
public class LogUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOG4J_CFG_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description LogUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
getCustomLog4jConfiguration()
User-provided Log4J configuration for Agent Bootstrap and Agent execution logs.static @Nullable URI
getCustomLog4jConfigurationURI()
User-provided Log4J configuration for Agent Bootstrap and Agent execution logs as URIstatic @Nullable String
getLog4jVersion1CustomPath()
static boolean
isLog4jVersion1CustomPathDefined()
-
-
-
Field Detail
-
LOG4J_CFG_PROPERTY_NAME
public static final String LOG4J_CFG_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCustomLog4jConfiguration
@Nullable public static @Nullable String getCustomLog4jConfiguration()
User-provided Log4J configuration for Agent Bootstrap and Agent execution logs.- Returns:
- path to log4j configuration file
-
getCustomLog4jConfigurationURI
@Nullable public static @Nullable URI getCustomLog4jConfigurationURI()
User-provided Log4J configuration for Agent Bootstrap and Agent execution logs as URI- Returns:
- path to log4j configuration file
-
getLog4jVersion1CustomPath
@Nullable public static @Nullable String getLog4jVersion1CustomPath()
-
isLog4jVersion1CustomPathDefined
public static boolean isLog4jVersion1CustomPathDefined()
-
-