Open giohappy opened 2 years ago
Hi @giohappy
I agree on having a dedicated volume for the logs and persist the logs on disk. We can have either invoke.log OR geonode.log on stdout
/ stderr
but I wouldn't redirect both, it wouldbe messy IMO
Regarding the latter point, I don't know if it would make sense to make this option log both to the log file AND stdout.
I would prefer one OR the other with default on file and an override
I would prefer one OR the other with default on file and an override
ok, in that case we can have two more env variable similar to the INVOKE_LOG_STDOUT
. It might be GEONODE_LOG_STDOUT
and CELERY_LOG_STDOUT
Having created the logs successfully and
logs
volume I have the following.
stderr
as shown below.
Following the discussion in https://github.com/GeoNode/geonode-project/issues/266 we want to do an initial improvement by
geonode
log and thecelery
log to a persistent volume. I would consider the option to create a newlogs
, where we might decide to persist also the logs from geoserver afterward.stdout
stderr
as we do for the invoke.log.Regarding the latter point, I don't know if it would make sense to make this option log both to the log file AND
stdout
. @randomorder @afabiani opinions on this?