Is it possible to append entries to a license manager log file rather than overwrite them?
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 27 de Jun. de 2009
Editada: MathWorks Support Team
el 17 de Jun. de 2024
Every time I restart the license manager, the logfile gets overwritten with new information. Is there any way to add entries to a logfile rather than overwrite them?
Respuesta aceptada
MathWorks Support Team
el 17 de Jun. de 2024
Editada: MathWorks Support Team
el 17 de Jun. de 2024
You can set up the network license manager so that the vendor daemon log file is persistent. To create such a log, you will need to add the DEBUGLOG + feature to your options file:
DEBUGLOG +<path to log file>
e.g. DEBUGLOG +"C:\Program Files\MATLAB\R2023a\etc\mlmlog.txt"
When specifying a log file, DO NOT specify the license manager log file (lmlog.txt or lm_TMW.log) that is used in lmtools, as this will result in data loss. The log file can be in any directory.
Once the Options File has been updated, you must restart the license manager in order for these changes to take effect. Again, this log file will be just for the MATLAB vendor daemon. Any information from lmgrd will be recorded in the main log file.
NOTE: If using "lmstart" to start the license manager on Linux/Mac, the log file does not get overwritten. Entries to the log file are appended to the existing log file.
To learn how to create an options file, please consult the article below:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Manage Products en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!