bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Logfile size

E2E Forum General Discussion Logfile size

Tagged: 

This topic contains 4 replies, has 3 voices, and was last updated by  marcusr 2 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1834

    glorenz
    Participant

    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).

    #1835

    Alfred
    Moderator

    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>
    
    #1836

    glorenz
    Participant

    Thank you Alfred, this helps for sure. Would it be worth a feature in the deployment settings of a service?

    #1839

    Alfred
    Moderator

    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.

    #2001

    marcusr
    Participant

    Hi,

    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.

    Regards,

    Marcus

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.