Hello All, I am running lakefs on ec2 instance and...
# help
n
Hello All, I am running lakefs on ec2 instance and its working fine. But all sudden the lakefs process stopped and not finding any logs why, its stopped working. Is there any place where we can enable log, so that we can look and trace the reason to avoid the same in future. Thanks
i
Hey Nagarajan! Thanks for posting your question. The lakeFS log output and verbosity is determined in the config file. You can look at the configuration documentation and see the possible values for logging
format
,
level
and
output
. Let me know if you need any further assistance :)
n
Thanks for the update @Itai Admi
👍 1
If I give the log path, lakefs failing to start as per this.
logging.output
 
(string : "-")
I gave the path like this: "/path/user/lakefs-logs"
Is it correct or what I am missing ?
and the lakefs has the permission into this path.
Any suggestion @Itai Admi
i
Are the lakeFS logs which fails to start visible? Can you share those?
Also, can you try a different path? Maybe "/tmp/lakefs_logs"
n
No, the lakefs did not start after specify that path, so no logs start visible...
i
How do you run lakeFS in the ec2 instance? Container? Binary?
n
binary
I use this command to start the lakefs nohup lakefs --config config.yaml run &
i
Run it without the '&' to see the logs.
n
Ok, let me check once
we have to mention the file name, I was giving only the folder path, thats why it was failing...
👍 1
now its working fine for me...
👍 1