https://garden.io logo
.garden/error.log always empty?
a

aloof-lamp-69262

04/26/2023, 8:33 PM
It seems in my current setup
.garden/error.log
is always empty. However I find the actual file under
.garden/logs/error.log
Alongside
development.log
How can I fix this to not go under logs folder and just stay on the root folder. I searched the documents and I could not find a way to influence this via an env variable or some sort of config. Thank you!
b

bright-policeman-43626

04/27/2023, 9:25 AM
I'm not sure about how these logs works do you mind taking a look to this question please? @quaint-dress-831 @ancient-diamond-80011 @curved-intern-91221
q

quaint-dress-831

04/27/2023, 12:15 PM
@aloof-lamp-69262 I don't think this is possible!
b

bright-policeman-43626

04/27/2023, 12:16 PM
I don't understand why the .garden/error.log is there though, perhaps it was intended to be a symlink of .garden/logs/error.log ?
a

aloof-lamp-69262

04/27/2023, 8:54 PM
So you are saying the default is under .garden/logs/error.log? Your documentation says otherwise. It says it is under .garden/error.log directly
a

ancient-diamond-80011

04/28/2023, 7:13 AM
there should be a
.garden/error.log
, but it will only have content if you ran into errors. if you have a successful command, the contents will be empty

https://cdn.discordapp.com/attachments/1100882417394389074/1101405928147918858/Screenshot_2023-04-28_at_10.10.35.png

https://cdn.discordapp.com/attachments/1100882417394389074/1101405928542187572/Screenshot_2023-04-28_at_10.13.07.png

the
.garden/error.log
will reflect the most recent run, it is not an append-only log of all runs (or similar)
the
.garden/logs
directory will have the logs for each individual command run in separate files, with timestamped filenames
b

bright-policeman-43626

05/05/2023, 3:17 PM
Marking this as resolved as I think now it's clear why the file was empty!