Commiting pipeline changes made for JIRA ticket - ticket/PS-1

This commit is contained in:
Developer1 2024-07-24 13:02:32 +00:00
parent a32a1dea91
commit a56f52a5c6
395 changed files with 997 additions and 308 deletions

43
Doc/Config/log4j2.xml Normal file
View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
</Configuration>

View File

@ -4,7 +4,7 @@
# Seclore Server SDK Examples
Welcome to the Seclore Server SDK Examples repository! Here, you'll find a curated collection of example projects showcasing the robust capabilities of the [Seclore Software Development Kit](https://repo.seclore.com/public/-/packages/generic/seclore-java-sdk/test).
Welcome to the Seclore Server SDK Examples repository! Here, you'll find a curated collection of example projects showcasing the robust capabilities of the [Seclore Software Development Kit](https://repo.seclore.com/public/-/packages/generic/seclore-java-sdk/4.4.18.0).
## Table of Contents
@ -27,6 +27,6 @@ While this is an excellent learning resource for the SDK, there are other resour
### Official Resources
- [Developer Guide](Doc/Seclore%20Server%20SDK%20Java%20Guide%20v4.5.2.0.pdf)
- [API Reference](https://seclore-sdk-local.docs.secloredevops.com/test/apidocs)
- [Error Codes](https://seclore-sdk-local.docs.secloredevops.com/test/errorcodes)
- [Seclore Server SDK Package](https://repo.seclore.com/public/-/packages/generic/seclore-java-sdk/test)
- [API Reference](https://seclore-sdk-local.docs.secloredevops.com/4.4.18.0/apidocs)
- [Error Codes](https://seclore-sdk-local.docs.secloredevops.com/4.4.18.0/errorcodes)
- [Seclore Server SDK Package](https://repo.seclore.com/public/-/packages/generic/seclore-java-sdk/4.4.18.0)

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-16" ?>
<!-- Configuration File (1.1.0.0). -->
<!-- This file contains the XML strcuture which should be passed
to the IFSHelperInitialize API to initialize the Library -->
<fs-helper-ps-config>
<ps-details>
<!-- URLs of the Policy Server. -->
<urls>
<!--
URL of the Policy Server. Multiple such tags can be present.
It is recommended to put reachable URL as first URL and then
backup URL.
-->
<url>
<!--
Parts of URL.
For example, if URL is https://demo.seclore.com:9443/PolicyServer,
server: demo.seclore.com
port: 9443
app-name: PolicyServer.
Value of 'port' is mandatory.
-->
<server></server>
<port></port>
<app-name></app-name>
</url>
</urls>
</ps-details>
<!-- Login details for this instance -->
<login-details>
<!--
Login user type.
1: Cabinet User
2: PS End-User
-->
<user-type>1</user-type>
<!-- Structure for user type Cabinet User(1) -->
<!--
Hot Folder Cabinet details. This details are used to authenticate with
Policy Server.
-->
<hotfolder-cabinet>
<!--
Hot Folder Cabinet identifier.
-->
<id></id>
<!--
Hot Folder Cabinet pass phrase.
-->
<passphrase></passphrase>
<!--
Flag to enable advance priviledges
-->
<allow-advanced-privileges>false</allow-advanced-privileges>
</hotfolder-cabinet>
</login-details>
<!-- This tag defines whether inline attachment should be embedded in unprotected mail body or should be provided separately
true : Inline attachments will get embedded in mail body.
false : Inline attachments will be provided separately and not as mail body content.
-->
<include-inline-attachment-in-mail-body>false</include-inline-attachment-in-mail-body>
<!--
The Locale of FSHelper.
Locale String Format : <language code>[_<country code>[_<variant code>]]
-->
<locale>en</locale>
<!--
Policy Server session pool configuration.
-->
<session-pool>
<!--
Max. number of connection with Policy Server. This value is based on
(equal to) active concurrent users of Integrating Application deployment.
-->
<max-size>50</max-size>
<!--
Policy Server session timeout in seconds. This is typically 15 minutes (900 seconds).
for Policy Server. Value of this tag can be found in configuration file
of Web Application Server (web.xml for Tomcat).
-->
<default-session-timeout>900</default-session-timeout>
</session-pool>
<!--
Details of proxy server, if required to connect to Policy Server.
If not required, remove the following tag itself. It is optional.
-->
<proxy-details>
<server></server>
<port></port>
<user></user>
<password></password>
<!--
Semicolon (;) separated list of URL patterns, just like IE bypass
list in Internet Explorer.
-->
<bypass-list></bypass-list>
</proxy-details>
</fs-helper-ps-config>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS} :%t %n%p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
</Configuration>

View File

@ -10,7 +10,7 @@
<classpathentry kind="lib" path="lib/log4j-api-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/log4j-core-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/disruptor-3.3.7.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.17.0.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.18.0.jar"/>
<classpathentry kind="lib" path="lib/seclore-io-1.0.0.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-16" ?>
<!-- Configuration File (1.1.0.0). -->
<!-- This file contains the XML strcuture which should be passed
to the IFSHelperInitialize API to initialize the Library -->
<fs-helper-ps-config>
<ps-details>
<!-- URLs of the Policy Server. -->
<urls>
<!--
URL of the Policy Server. Multiple such tags can be present.
It is recommended to put reachable URL as first URL and then
backup URL.
-->
<url>
<!--
Parts of URL.
For example, if URL is https://demo.seclore.com:9443/PolicyServer,
server: demo.seclore.com
port: 9443
app-name: PolicyServer.
Value of 'port' is mandatory.
-->
<server></server>
<port></port>
<app-name></app-name>
</url>
</urls>
</ps-details>
<!-- Login details for this instance -->
<login-details>
<!--
Login user type.
1: Cabinet User
2: PS End-User
-->
<user-type>1</user-type>
<!-- Structure for user type Cabinet User(1) -->
<!--
Hot Folder Cabinet details. This details are used to authenticate with
Policy Server.
-->
<hotfolder-cabinet>
<!--
Hot Folder Cabinet identifier.
-->
<id></id>
<!--
Hot Folder Cabinet pass phrase.
-->
<passphrase></passphrase>
<!--
Flag to enable advance priviledges
-->
<allow-advanced-privileges>false</allow-advanced-privileges>
</hotfolder-cabinet>
</login-details>
<!-- This tag defines whether inline attachment should be embedded in unprotected mail body or should be provided separately
true : Inline attachments will get embedded in mail body.
false : Inline attachments will be provided separately and not as mail body content.
-->
<include-inline-attachment-in-mail-body>false</include-inline-attachment-in-mail-body>
<!--
The Locale of FSHelper.
Locale String Format : <language code>[_<country code>[_<variant code>]]
-->
<locale>en</locale>
<!--
Policy Server session pool configuration.
-->
<session-pool>
<!--
Max. number of connection with Policy Server. This value is based on
(equal to) active concurrent users of Integrating Application deployment.
-->
<max-size>50</max-size>
<!--
Policy Server session timeout in seconds. This is typically 15 minutes (900 seconds).
for Policy Server. Value of this tag can be found in configuration file
of Web Application Server (web.xml for Tomcat).
-->
<default-session-timeout>900</default-session-timeout>
</session-pool>
<!--
Details of proxy server, if required to connect to Policy Server.
If not required, remove the following tag itself. It is optional.
-->
<proxy-details>
<server></server>
<port></port>
<user></user>
<password></password>
<!--
Semicolon (;) separated list of URL patterns, just like IE bypass
list in Internet Explorer.
-->
<bypass-list></bypass-list>
</proxy-details>
</fs-helper-ps-config>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS} :%t %n%p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
</Configuration>

View File

@ -10,7 +10,7 @@
<classpathentry kind="lib" path="lib/log4j-api-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/log4j-core-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/disruptor-3.3.7.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.17.0.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.18.0.jar"/>
<classpathentry kind="lib" path="lib/seclore-io-1.0.0.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-16" ?>
<!-- Configuration File (1.1.0.0). -->
<!-- This file contains the XML strcuture which should be passed
to the IFSHelperInitialize API to initialize the Library -->
<fs-helper-ps-config>
<ps-details>
<!-- URLs of the Policy Server. -->
<urls>
<!--
URL of the Policy Server. Multiple such tags can be present.
It is recommended to put reachable URL as first URL and then
backup URL.
-->
<url>
<!--
Parts of URL.
For example, if URL is https://demo.seclore.com:9443/PolicyServer,
server: demo.seclore.com
port: 9443
app-name: PolicyServer.
Value of 'port' is mandatory.
-->
<server></server>
<port></port>
<app-name></app-name>
</url>
</urls>
</ps-details>
<!-- Login details for this instance -->
<login-details>
<!--
Login user type.
1: Cabinet User
2: PS End-User
-->
<user-type>1</user-type>
<!-- Structure for user type Cabinet User(1) -->
<!--
Hot Folder Cabinet details. This details are used to authenticate with
Policy Server.
-->
<hotfolder-cabinet>
<!--
Hot Folder Cabinet identifier.
-->
<id></id>
<!--
Hot Folder Cabinet pass phrase.
-->
<passphrase></passphrase>
<!--
Flag to enable advance priviledges
-->
<allow-advanced-privileges>false</allow-advanced-privileges>
</hotfolder-cabinet>
</login-details>
<!-- This tag defines whether inline attachment should be embedded in unprotected mail body or should be provided separately
true : Inline attachments will get embedded in mail body.
false : Inline attachments will be provided separately and not as mail body content.
-->
<include-inline-attachment-in-mail-body>false</include-inline-attachment-in-mail-body>
<!--
The Locale of FSHelper.
Locale String Format : <language code>[_<country code>[_<variant code>]]
-->
<locale>en</locale>
<!--
Policy Server session pool configuration.
-->
<session-pool>
<!--
Max. number of connection with Policy Server. This value is based on
(equal to) active concurrent users of Integrating Application deployment.
-->
<max-size>50</max-size>
<!--
Policy Server session timeout in seconds. This is typically 15 minutes (900 seconds).
for Policy Server. Value of this tag can be found in configuration file
of Web Application Server (web.xml for Tomcat).
-->
<default-session-timeout>900</default-session-timeout>
</session-pool>
<!--
Details of proxy server, if required to connect to Policy Server.
If not required, remove the following tag itself. It is optional.
-->
<proxy-details>
<server></server>
<port></port>
<user></user>
<password></password>
<!--
Semicolon (;) separated list of URL patterns, just like IE bypass
list in Internet Explorer.
-->
<bypass-list></bypass-list>
</proxy-details>
</fs-helper-ps-config>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
</Configuration>

View File

@ -10,7 +10,7 @@
<classpathentry kind="lib" path="lib/log4j-api-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/log4j-core-2.17.1.jar"/>
<classpathentry kind="lib" path="lib/disruptor-3.3.7.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.17.0.jar"/>
<classpathentry kind="lib" path="lib/fs-ws-client-4.4.18.0.jar"/>
<classpathentry kind="lib" path="lib/seclore-io-1.0.0.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-16" ?>
<!-- Configuration File (1.1.0.0). -->
<!-- This file contains the XML strcuture which should be passed
to the IFSHelperInitialize API to initialize the Library -->
<fs-helper-ps-config>
<ps-details>
<!-- URLs of the Policy Server. -->
<urls>
<!--
URL of the Policy Server. Multiple such tags can be present.
It is recommended to put reachable URL as first URL and then
backup URL.
-->
<url>
<!--
Parts of URL.
For example, if URL is https://demo.seclore.com:9443/PolicyServer,
server: demo.seclore.com
port: 9443
app-name: PolicyServer.
Value of 'port' is mandatory.
-->
<server></server>
<port></port>
<app-name></app-name>
</url>
</urls>
</ps-details>
<!-- Login details for this instance -->
<login-details>
<!--
Login user type.
1: Cabinet User
2: PS End-User
-->
<user-type>1</user-type>
<!-- Structure for user type Cabinet User(1) -->
<!--
Hot Folder Cabinet details. This details are used to authenticate with
Policy Server.
-->
<hotfolder-cabinet>
<!--
Hot Folder Cabinet identifier.
-->
<id></id>
<!--
Hot Folder Cabinet pass phrase.
-->
<passphrase></passphrase>
<!--
Flag to enable advance priviledges
-->
<allow-advanced-privileges>false</allow-advanced-privileges>
</hotfolder-cabinet>
</login-details>
<!-- This tag defines whether inline attachment should be embedded in unprotected mail body or should be provided separately
true : Inline attachments will get embedded in mail body.
false : Inline attachments will be provided separately and not as mail body content.
-->
<include-inline-attachment-in-mail-body>false</include-inline-attachment-in-mail-body>
<!--
The Locale of FSHelper.
Locale String Format : <language code>[_<country code>[_<variant code>]]
-->
<locale>en</locale>
<!--
Policy Server session pool configuration.
-->
<session-pool>
<!--
Max. number of connection with Policy Server. This value is based on
(equal to) active concurrent users of Integrating Application deployment.
-->
<max-size>50</max-size>
<!--
Policy Server session timeout in seconds. This is typically 15 minutes (900 seconds).
for Policy Server. Value of this tag can be found in configuration file
of Web Application Server (web.xml for Tomcat).
-->
<default-session-timeout>900</default-session-timeout>
</session-pool>
<!--
Details of proxy server, if required to connect to Policy Server.
If not required, remove the following tag itself. It is optional.
-->
<proxy-details>
<server></server>
<port></port>
<user></user>
<password></password>
<!--
Semicolon (;) separated list of URL patterns, just like IE bypass
list in Internet Explorer.
-->
<bypass-list></bypass-list>
</proxy-details>
</fs-helper-ps-config>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="info" >
<Properties>
<Property name="basePath">${ctx:applicationPath}/logs</Property>
</Properties>
<Loggers>
<Asynclogger name="WSCLIENT" level="info" additivity="false" >
<appender-ref ref="WSCLIENT_APPENDER" />
</Asynclogger>
</Loggers>
<Appenders>
<RollingRandomAccessFile name="WSCLIENT_APPENDER" fileName="${basePath}/WSClient.log" filePattern="${basePath}/WSClient_%d{yyyy-MM-dd}_%i.log.zip">
<PatternLayout>
<charset>UTF-8</charset>
<pattern>%d{MMM dd, yyyy HH:mm:ss.SSS}: %t: %p: %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy fileIndex="nomax">
<!--
* Uncommenting the following code will enable deletion of log files of above name and
* which are older than 90 days(configurable only days accepted)
* Be careful! There is no way to recover files deleted this way.
-->
<!--
<Delete basePath="${basePath}" >
<IfFileName glob="PolicyServer_*.log.zip" />
<IfLastModified age="90d" />
</Delete>
-->
</DefaultRolloverStrategy>
</RollingRandomAccessFile>
</Appenders>
</Configuration>

Some files were not shown because too many files have changed in this diff Show More