What is the best way to configure the E2E Bridge Server logging when a high volume of transactions are logged to the hard drive. The log rotation by default is 1 day, is it possible to have it segmented into hourly slices? The slices shall help with future possible investigations and managing of high transaction volumes (entry counts).
The good news is you can change the log rotation to an hourly interval.
The bad news is you have to edit a configuration file manually and the file
will be reset each time you change a log level.
You have to edit the file e2e_bridge_data/bridge_YOURSERVICE/repository/tabfiles/Base/logger.tab .
You need to add “<Rotation>HOURLY</Rotation>” as child element to Logger->TransactionFiles->TransactionFile.
My file is for example:
<?xml version="1.0" encoding="utf-8"?> <Logger> <LogFiles> <Name>logs/bridgeserver_</Name> <LogFile> <Name>logs/bridgeserver_</Name> <Level>Info</Level> <Zone>LOCAL</Zone> </LogFile> <StdErr> <Level>Error</Level> <Zone>UTC</Zone> <Format>e2eruntime[%PID%[%Time%[%Level%[%Category%[%Domain%[%Code%[[%Description%]]</Format> </StdErr> </LogFiles> <TransactionFiles> <TransactionFile> <Name>logs/transaction_</Name> <Level>IOInternal</Level> <Rotation>HOURLY</Rotation> </TransactionFile> </TransactionFiles> </Logger>
Thank you Alfred, this helps for sure. Would it be worth a feature in the deployment settings of a service?
We will implement the improvement that you can specify per service that the transaction log file should be rotated each hour or each day (but not each minute).
Our ID for the issue is CON-981.
Is it possible for xUML services to set a path for the logfile or set a retention period for logfiles.
I need a way to manage the number of logfiles a service is creating.
You must be logged in to reply to this topic.