Agent arguments

Here is a complete list of all supported arguments:

Key

Description

Version

Default

jhcr.projectDirectory

Allows to specify the directory to be watch for modified files

1.0.0+

If not set, calls System.getProperty("user.dir")

jhcr.watcher.interval

Allows you to specify the interval for org.apache.commons.io.monitor.FileAlterationMonitor. Basically, how often to look for file changes in milliseconds.

1.0.0+

1000

jhcr.logger.fileName

Allows you to specify the name or the full path to the file where logs related to JHCR will be printed

1.0.0+

JHCRLogger.log

jhcr.logger.prefix

Allows you to specify the prefix used by the logger.

1.0.0+

JHCR

jhcr.logger.dateFormat

Allows you to specify the string format used by the logger. This value will be passed as is to the SimpleDateFormat class constructor.

1.0.0+

dd/MM/yyyy HH:mm:ss.SSS

jhcr.logger.template

Allows you to specify a template used by the logger.

1.0.0+

[%s] %s: %s: %s\n -> (Date, prefix, level, message)

jhcr.logger.level

Allows to specify the what level of logs you want printed. Can be set to: config, fine, finer, finest, info, severe or warning.

1.0.0+

all

jhcr.custom.loader

Allows to specify a custom class loader to be used

2.1.0+

empty

Updated on