Rotating Logfile
Author: standaards.development@tui.nl (tuisd)
Hi everyone, I want to launch an idea to improve the logging within Uniface. At this moment there are possibilities in the ASN-file to set the $ioprint to your own desired level. But when your $ioprint is having a high value, this results in large log-files which are time-consuming when analyzing problems. Even in production environments where logging is kept to a minimum log files can get very big. So it would be nice to have the next two additional options for managing the Uniface log file. These options are: 1. Size restrictions 2. Age restrictions Ad 1: After the size specified in the ASN file a new log file will be created. The old log file will be saved under it?s current name with an additional date/time stamp. The size from the log file can vary between for example 1 and 1000 MB. Ad 2: If you want to have for example a new log file every day at 12.00, it would be nice to have an option to set the Age for the log file. This value could range from 1 to 31 days or another user defined value. If the value is set to e.g. 2 days after this period a new log file will be created and the old one is saved with a date time stamp. Especially applications which must be available 24/7 can profit from these enhancements. These applications nowadays are often integrated in a complex IT-architecture. There are often many (XML) connections with other applications. The 24/7 demand result in a low number of restarts for these applications. In our case there will be a maximum of 4 restarts per year, so log files can get big even with minimal logging. When the system is not available because of a crash or other reason you need to find the problem as fast as possible to minimize downtime. Therefore you can directly profit when you only have to analyze & transfer the current log file to your local environment. A size limited log file can be analyzed much faster. It also gives you the opportunity to work with al higher log level in production environments, so problems can be found faster. I hope there are more customers who see the benefits from these wish. Please let know, so we can get this functionality realized! Greetings, Damiejel Hering TUI Netherlands




