php.ini 파일에 log_errors = ON 한다음에 error_log = /home/logs/php_error_logs 로 수정 원하는 디렉토리명과 파일명을 지정해주시면 에러발생시에 에러가 기록된다. putty같은 프로그램으로 창하나 더열고 tai.. Oct 08, 2019 · Navigate to /writable/logs in the root of the project directory, and you should see a new file with today’s date. Open up the file, and you’ll see the log message with a logging level and a time-stamp. Woohoo! We’ve now logged and retrieved our first logging message.
The following tutorial will describe how to delete files that you no longer need, deleting files using node js extremely simple with node js's fs library. Note: There is no way of undoing deleted files, just keep that in mind. To delete files, simply pass a file path as parameter to fs.unlink(path, callback), for sync