RestComm / smscgateway-docker

http://www.restcomm.com/
GNU Affero General Public License v3.0
0 stars 10 forks source link

log file is too big #6

Open nhanth87 opened 7 years ago

nhanth87 commented 7 years ago

server.log redirected to /var/lib/docker/containers/xxx/xxx-json.log and will not clean. During some days it will be come big (at my server is 25 GB)

We need to fix it

blessendor commented 6 years ago

Confirm this bug.

We got a 45G size log file.

Was this fixed?

gsaslis commented 6 years ago

@nhanth87 / @blessendor thanks for reporting this!

it sounds like you should be able to work around this by tweaking the Docker Logging driver options, e.g. https://docs.docker.com/engine/admin/logging/json-file/

Could you please give that a go and let me know if that helps address / solves your problem?