#2507 TPS Logging Issues
Closed: migrated 3 years ago by dmoluguw. Opened 7 years ago by gkapoor.

  1. In TPS CS.cfg, Factory setting has below mentioned properties.

logAudit.fileName=/var/lib/pki/topology-02-TPS/logs/tps/access
logError.fileName=/var/lib/pki/topology-02-TPS/logs/tps/error

but i don't see these files getting created.

  1. when log.impl.file.class=com.netscape.cms.logging.LogFile
    does expirationTime and maxFileSize should work.Documenttaion doesn't clearly
    says anything about this.

Steps to Reproduce:

1. Set log.impl.file.class=com.netscape.cms.logging.LogFile
2. Set expiration time for self test logs and Audit logs.Below is the CS.cfg.

grep "expirationTime" /etc/pki/topology-02-TPS/tps/CS.cfg
log.instance.SignedAudit.expirationTime=12
log.instance.System.expirationTime=0
log.instance.Transactions.expirationTime=0
selftests.container.logger.expirationTime=10

3. Check that logs should get expired and deleted within mentioned time as
mentioned in https://access.redhat.com/documentation/en-US/Red_Hat_Certificate_
System/8.1/html/Admin_Guide/java-logs.html#Configuring_Logs_in_the_CS.cfg_File
page 497

4. Logs are not getting deleted.

Additional info:

Attaching CS.cfg for reference in associated bug.

Per PKI Bug Council of 10/10/2016: 10.4

Metadata Update from @gkapoor:
- Issue set to the milestone: UNTRIAGED

7 years ago

Metadata Update from @mharmsen:
- Custom field feature adjusted to ''
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field version adjusted to ''
- Issue close_status updated to: None
- Issue set to the milestone: 10.4 (was: UNTRIAGED)

7 years ago

Per CS/DS Meeting of August 7, 2017, it was determined to move this issue from 10.4 ==> FUTURE.

Metadata Update from @mharmsen:
- Issue set to the milestone: FUTURE (was: 10.4)

6 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2627

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata