Jump to content

Any way to re-location logs?


MosDos

Recommended Posts

I use latest emby server on debian10 via docker.

I noticed cache,metadata,transcoding path all can be config in their sub-setting, but especially logs path cannot be edit, and I try to make a soft link by 'ln -s', but not work, it will treat symbolic-link as a file and print error in log 'logs already exist' and cannot start.

So any idea about docker version to move log path to avoid flash write frequently?

 5df9f84ee70a0_Snipaste_20191218_175834.p

Edited by MosDos
Link to comment
Share on other sites

maxxoverclocker

I use latest emby server on debian10 via docker.

I noticed cache,metadata,transcoding path all can be config in their sub-setting, but especially logs path cannot be edit, and I try to make a soft link by 'ln -s', but not work, it will treat symbolic-link as a file and print error in log 'logs already exist' and cannot start.

So any idea about docker version to move log path to avoid flash write frequently?

 5df9f84ee70a0_Snipaste_20191218_175834.p

With docker you can always just use a volume and map it that way. Any reason that will not work?

 

--volume /opt/docker/emby/logs:/config/logs

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...