I am creating logs file on heroku using "winston" module. It creates a log files on local system an writing a logs in file, but when I deployed it on heroku server then log file is not generated, If I create log file manually on heroku using heroku terminal or bash, then file and folder automatically get deleted.
I tried to push log folder and files using git but server log is not writing in log file on server and same code is working on local.