add_file_handler#
- Mapdl.add_file_handler(filepath, append=False, level='DEBUG')#
Add a file handler to the mapdl log. This allows you to redirect the APDL logging to a file.
- Parameters:
Examples
Start writing the log to a new file named “mapdl.log”
>>> mapdl.add_file_handler('mapdl.log')