Open haxecoder opened 8 years ago
@AlexFrost47rus for now /var/log is fixed and cannot be changed, there is also logrotation script which refers to that path. What is your motivation to keep log somewere else?
I have many applications with different environment but with same name. It is more comfortable to hold their logs at separate folders, such as "var/log/firstEnv/app_1,2,3,4", "var/log/secondEnv/app_1,2,3,4". Basically its not a big problem but forever (not service) is available to do that thing. So i was puzzled why forever-service cannot do that. It became clear with your answer, thank you. I wonder if feature to customize log path would be added.
Ok, I will consider it in subsequent updates. Meanwhile if you want to send me a pull request for it, i would be happy to merge it.
Big thanks for your response! And i will try to understand how forever-service works, its really new thing for me :)
I really didnt understand how to remap log file. Its going to var/log/$appname$.log by default. Please, can you explain how to make log being saved to different location. May be its better to include that info to readme.