...
| Code Block |
|---|
Logger fileLogger = new FileLogger(new File("c:/tmp/cargo.log"), true);
fileLogger.setLevel(LoggingLevel.HIGH);
container.setLogger(fileLogger);
|
...
When using the Ant tasks, you can specify the log file by using the log attribute and logLevel attributes. For example:
| Code Block | ||
|---|---|---|
| ||
<cargo containerId="resin3x" [...] logLevel="debug" log="target/cargo.log"/>
|
Use the append="true|false" attribute for controlling the log file creation behavior.
...