You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -39,12 +39,19 @@ In the installation's *bin* directory there are scripts to start Metrics Aggrega
39
39
40
40
#### Logging
41
41
42
-
To customize logging you may provide a [LogBack](http://logback.qos.ch/) configuration file. To use a custom logging configuration you need to define and export an environment variable before executing *mad*:
42
+
To customize logging you may provide a [LogBack](http://logback.qos.ch/) configuration file. The project ships with `logback.xml` which
43
+
writes logs to rotated files and with `logback-console.xml` which writes logs to STDOUT.
Where */usr/local/lib/metrics-aggregator-daemon/config/logger.xml* is the path to your logging configuration file.
47
50
51
+
Under Docker, set the `LOGBACK_CONFIG` environment variable to configure logging:
52
+
53
+
docker run -e LOGBACK_CONFIG=/opt/mad/config/logack-console.xml arpnetworking/mad:latest
54
+
48
55
#### Daemon
49
56
50
57
The Metrics Aggregator Daemon configuration is specified in a JSON file. The location of the configuration file is passed to *mad* as a command line argument:
@@ -139,38 +146,156 @@ Each of the pipeline configuration files should be placed in the *pipelinesDirec
139
146
140
147
The daemon and pipeline configuration files may be written in [Hocon](https://github.com/typesafehub/config) when specified with a _.conf extension.
__Note:__ Requires at least Docker for Mac Beta version _Version 1.12.0-rc4-beta19 (build: 10258)_
150
277
151
-
You will need an account on [Docker Hub](https://hub.docker.com/) and need to provide these credentials in order for the build to pull the base image(s). Please refer to the [Fabric8 Maven Docker Plugin](https://dmp.fabric8.io/#authentication) for how to provide these credentials. To get started quickly you can pass them on the command line via _-Ddocker.pull.username_ and _-Ddocker.pull.password_.
0 commit comments