Skip to main content
Skip table of contents

Managing HTTP Log Files

When HTTP logging is enabled in SOAPam Server, log files can accumulate over time and if not proactively managed, can eventually consume all space in the VFS. The VFSMGR -logclean option can be used to archive and/or purge the HTTP log files based on age. This procedure can be used to periodically to cleanup logs or be scheduled as part of automated system maintenance procedures. The syntax for the logclean option is:

-logclean <days> < copy | move | purge > [ dry-run ]

The procedure can copy, move, or purge HTTP log files in the VFS folder /logs/http that are <days> old or older. If 'copy' is specified, the logs are copied to the specified subvol. If 'move' is specified, the logs are copied to the specified subvol and then purged from the VFS. If 'purge' is specifed, the logs are purged from the VFS. Note that if any logs are purged, a VFS 'clean' operation is performed. If 'dry-run' is specified, command operation is simulated, i.e., command output is displayed but no actual copy, move, or purge operations are performed.


Copy logs more than 7 days old to subvol $DATA.HTTPLOGS and delete them from the VFS:

tacl>run vfsmgr -vfs $DATA.VFS -logclean 7 move $DATA.HTTPLOGS

Delete logs more than 30 days old:

tacl>run vfsmgr -vfs $DATA.VFS -logclean 30 purge

Test the command to delete logs more than 14 days old:

tacl>run vfsmgr -vfs $DATA.VFS -logclean 14 purge dry-run
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.