Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On dedicated/private environments the following settings can be requested:

The setting is done by Pricefx Support. 

Prevent Logs from Being Deleted in Server XML

By default logs in /var/pricefx/runtime/server/logs/archive are deleted after one month (partition logs after one day). It is possible to change the retention period using this setting:

<logRetention>
	<FILE_AUDIT>2</FILE_AUDIT>
</logRetention>

Entries (here FILE_AUDIT) need to be same as the appender names as defined in logback.xml. 

The value is a new retention in days (essentially overwriting the "maxHistory" logback.xml value).

It only works for RollingFileAppender with TimeBasedRollingPolicy. 

Attachment Upload Safety Controls

It is possible to employ optional safety measures for uploadable content (attachments):

  • Specify which file types can be uploaded:

    <allowedContentTypes>
    	text/plain
    	image/jpeg
    	image/png
    	application/pdf
    	application/zip
    </allowedContentTypes>
  • Define upload limits per user. 

    <maxUploadThroughputPerUser>0</maxUploadThroughputPerUser>

    The value stands for allowed number of MB per minute per user. If set to 0, upload is disabled.

  • No labels