About this task
With the size-based log rotation, you must locate the log files on
the file system and delete them as follows:
Procedure
-
To stop the SPM instance, from the command prompt:
-
Change directory to
IBMwebMethods_directory
\profiles\bin
-
Run shutdown.bat|sh
-
Locate the log files you want to delete.
- In
IBMwebMethods_directory
\profiles\SPM\logs
Tip: In the Command Central web user interface,
click
SPM and go to the Logs tab. Moving
the mouse pointer over a log alias shows the location of the log on the file
system.
- After migrating an environment, log files are also located
in
IBMwebMethods_directory
\install\logs
- Check the logging configuration in
IBMwebMethods_directory
\profiles\SPM\configuration\logging\log_config.xml
Tip: In the Command Central web user interface,
click
SPM and go to
Configuration > Java Service
Wrapper.
If the logging configuration includes custom log
appenders, check the locations of the log appender files.
-
Delete the log files.