LogDriver
Log driver for the application. When set to Syslog, you must also set SyslogDestination. Set to blank ("") to disable logging entirely.
| Default value | CloudWatch |
| Allowed values | CloudWatch, Syslog, "" |
Use Cases
- Keep as
CloudWatch(default) for standard log management using AWS CloudWatch Logs andconvox logs - Set to
Syslogwhen you need to forward logs to an external log aggregation service (e.g., Papertrail, Datadog, Loggly) - Set to
""(blank) to disable logging entirely for applications that handle their own log routing or generate excessive log volume
Additional Information
When set to CloudWatch, logs are sent to a CloudWatch Logs log group and are accessible via convox logs. The retention period is controlled by the LogRetention parameter.
When set to Syslog, you must also configure SyslogDestination with the endpoint URL and SyslogFormat with the desired message format. Logs will not appear in convox logs when using syslog.
Setting the value to blank ("") disables all log collection. No CloudWatch log group is created and no syslog driver is configured.
The Rack also has a LogDriver parameter that controls logging for the Rack infrastructure itself. The app-level parameter only affects this application's services and timers.
$ convox apps params set LogDriver=Syslog