Commit 35684f20 authored by Wade's avatar Wade

/var/log path

parent c67726a2
......@@ -12,11 +12,6 @@ services:
ports:
- "8000:8000"
entrypoint: /app/myapp
depends_on:
- standalone
- webserver
docker-host:
image: qoomon/docker-host
cap_add: ['NET_ADMIN', 'NET_RAW']
mem_limit: 8M
restart: on-failure
# depends_on:
# - standalone
# - webserver
......@@ -35,8 +35,8 @@ func loggingInit() {
// // Configure log rotation with lumberjack
lumberjackLogger := &lumberjack.Logger{
//Filename: "/var/log/agent_chat.log",
Filename: "agent_chat.log",
Filename: "/var/log/agent_chat.log",
//Filename: "agent_chat.log",
MaxSize: 1, // Max size in megabytes before log is rotated
MaxBackups: 3, // Max number of old log files to retain
MaxAge: 28, // Max number of days to retain old log files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment