No logs written

Expected Behavior

I expected logs to appear in /ps/logs

Current Behavior

No logs to appear in /ps/logs

Steps to Reproduce

  1. Run with docker
  2. Look in /ps/logs in the container

Environment

Operating system and version: Ubuntu 20.04

PhotoStructure edition: latest on docker, photostructure/server:beta

Docker commandline: docker run --name ps -it --rm -p 1787:1787 -e TZ="$(cat /etc/timezone)"
-v /mnt/tempstorage/ps/library:/ps/library -v /mnt/tempstorage/ps/tmp:/ps/tmp
-v /mnt/tempstorage/ps/config:/ps/config -v /mnt/tempstorage/ps/logs:/ps/logs
-v /mnt/storage1/Pictures/My\ Pictures:/pictures/ photostructure/server

By default the logs are pretty quiet. Add

-e PS_LOG_LEVEL=debug

to your docker run command.

(info and warn) works too. More details here:

https://photostructure.com/faq/error-reports/#log-levels

I mean there are no logs are there is nothing in the log-folder.

scuttle@docker4:/mnt/tempstorage/ps/logs$ docker exec -it 8c6744d3eb1a /bin/sh
/ps/app # cd ..
/ps # cd logs/
/ps/logs # ls -la
total 8
drwxr-xr-x 2 root root 4096 May 23 14:59 .
drwxr-xr-x 1 root root 4096 May 23 15:05 ..
/ps/logs #

Yeah, logs are written to only if there’s something to write.

Is this with debug or info logging?