treasure-data / digdag

Workload Automation System
https://www.digdag.io/
Apache License 2.0
1.3k stars 221 forks source link

Add configuration for server to store access logs #48

Closed frsyuki closed 7 years ago

frsyuki commented 8 years ago

Add a systemConfig to store access log files to digdag-server. Maybe like server.access-log.path = <path>.

frsyuki commented 8 years ago

io.digdag.server.ServerBootstrap will need to wrap PathHandler in AccessLogHandler if server.access-log.path is set.

frsyuki commented 8 years ago

we want to have an additional field (maybe JSON) so that Authenticator can include site_id or some other info to the logs.

frsyuki commented 8 years ago

683edd2d3189ad909b30fd7a05e44a311e9ada39 added --access-log option but it's not configurable and not extensible.

frsyuki commented 7 years ago

now digdag supports server.access-log.pattern option and json log format. json log format can include site_id, and other custom fields added by applications.