- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -1 +1,21 @@
Currently, the OpenSAF trace file size is limited to 5 MB, and the number of
backups to nine. If a longer trace is needed, we would need to make the file
size and / or number of backups configurable.
+
+Solution:
+
+To make the trace file size and number of backups configurable we are
introducing the transportd.conf like below. This file was read in startup of
transportd and logwriter will be configured with below values. If we want to
change these values dynamically the transportd.conf was read in SIGUSR2
handling and propagated to newly created streams and logwriter objects. Already
created streams and log writer objects are not touched
+~~~
+# This file contains configuration for the Transportd service
+# See the file osaf/services/infrastructure/dtm/README for more configuration
options.
+
+#
+# TRANSPORT_MAX_LOG_FILESIZE: The maximum size of the log file. The size
value should
+# be in MB's i.e if you give 6 then it is treated as 6 MB. By default value
will be
+# 5 MB
+TRANSPORT_MAX_LOG_FILESIZE=5
+
+#
+# TRANSPORT_NO_OF_BACKUP_LOG_FILES: Number of backup files to maintain. Log
rotation will
+# be done based on this value. Default value will be 9
+# i.e totally 10 log files will be maintain.
+TRANSPORT_NO_OF_BACKUP_LOG_FILES=9
+~~~
~~~~
---
** [tickets:#2731] dtm: Make trace file size and number of backups
configurable**
**Status:** assigned
**Milestone:** 5.18.01
**Created:** Wed Dec 06, 2017 11:28 AM UTC by Anders Widell
**Last Updated:** Sun Dec 10, 2017 12:48 PM UTC
**Owner:** syam prasad talluri
Currently, the OpenSAF trace file size is limited to 5 MB, and the number of
backups to nine. If a longer trace is needed, we would need to make the file
size and / or number of backups configurable.
Solution:
To make the trace file size and number of backups configurable we are
introducing the transportd.conf like below. This file was read in startup of
transportd and logwriter will be configured with below values. If we want to
change these values dynamically the transportd.conf was read in SIGUSR2
handling and propagated to newly created streams and logwriter objects. Already
created streams and log writer objects are not touched
~~~
# This file contains configuration for the Transportd service
# See the file osaf/services/infrastructure/dtm/README for more configuration
options.
#
# TRANSPORT_MAX_LOG_FILESIZE: The maximum size of the log file. The size value
should
# be in MB's i.e if you give 6 then it is treated as 6 MB. By default value
will be
# 5 MB
TRANSPORT_MAX_LOG_FILESIZE=5
#
# TRANSPORT_NO_OF_BACKUP_LOG_FILES: Number of backup files to maintain. Log
rotation will
# be done based on this value. Default value will be 9
# i.e totally 10 log files will be maintain.
TRANSPORT_NO_OF_BACKUP_LOG_FILES=9
~~~
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets