Docker owncloud/server:10.5.0, disable apache access logs?

Hi,

Is there any way to disable apache access logs through settings/environment parameters?
I’v put:

  • env:
    - name: APACHE_LOG_LEVEL
    value: ‘warn’
    - name: APACHE_LOG_FORMAT
    value: ‘combined’
    - name: APACHE_ACCESS_LOG
    value: /dev/null

But apache still logging every request. Any ideas?

/Thanks

To check which environment variables are available have a look here:

No clue why and how you would achieve this, but it would be awesome if you figure it out, if you could give us an update here :wink:

1 Like

Thanks!

Why: I’m already logging i HAProxy in front of OC no need to log twice.
How: looks like it did the trick ->
- env:
- name: OWNCLOUD_ACCESSLOG_LOCATION
value: /dev/null

/Thanks

2 Likes