[英]Logging Methods on Photon OS linux -my app log file is not created on the specified location by the application
我有一個用 golang 編寫的小應用程序,並且我提到了創建日志文件以跟蹤應用程序流的路徑。 但是一旦應用程序啟動了在我的兩個 ubuntu fedora 版本上創建的日志文件,但是在 photon OS vm ware 上沒有創建日志,並且也沒有顯示錯誤。 這是我的代碼,它工作正常,僅供參考。f, ...