Pow server:log access
From PlainOldWebserver
pow_server.log_access( note )
This writes to the pow/log/access.txt file with a timestamp. access.txt usually logs downloads, but can be used to log anything. The file size limit is 1kB.
<?sjs
pow_server.log_access("SJS page is loaded");
?>
Result in access.txt:
2007-01-14 03:50:57 SJS page is loaded
See Also
- pow_server.log_access()
- pow_server.get_uploaded_file()
- Server Variable list
- pow_server.REWRITE_RULES
