Pow server:log access

From PlainOldWebserver

Jump to: navigation, search

Back to Top

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

Personal tools
Navigation