https://kotlinlang.org logo
#ktor
Title
# ktor
e

Eman

10/21/2023, 11:18 AM
Hi, i added file logging appender but when i deploy my app as big-fat jar, it did not create the .log file in the current directory where is the .jar file located. any idea guys, where is located? (ubuntu server) ...thanks
a

Aleksei Tirman [JB]

10/23/2023, 6:40 AM
You can check the current working directory.
e

Eman

10/23/2023, 6:54 AM
these are only the contents of current working directory
weird i found it in / directory itself, i can be more specific then
how then can we have logback.xml for dev and prod?
a

Aleksei Tirman [JB]

10/24/2023, 6:52 AM
You may find this article useful.
👍 1