Hi Lennart,

I think Solution B is easier to maintain moving forward.
i.e. To my patch, I shall add a LOG_NOTICE whenever the logconfig object 
attributes are "internally" overwridden with the values from environmnet 
variables.

So, the end behaviour will be as below:

As usual when LGS is coming up, 
(a) the values of the logConfig attributes are used, i.e. if the object and 
attributes are configured.
(b) when no logConfig attributes are configured(except logRootDirectory) then, 
"the default values are used".
Now, after this patch 
(c) when no logConfig attributes are configured, i.e "the default values are 
detected" but if there are environment variables are configured then LGS shall 
log a NOTICE message and "internally" overwrides the values of the logConfig 
attribute with the values obtained from the environment variable.
- In future when support for modifiying these attributes dynamically through 
CCB operations is added then from a situation (c) above, the values passed 
through the CCB shall overwride the values stored in (c).

Thanks,
Mathi.



---

** [tickets:#841] LOG: Wrong default logStreamAppHighLimit (1)**

**Status:** fixed
**Milestone:** 4.5.FC
**Created:** Wed Apr 09, 2014 07:07 AM UTC by Hans Feldt
**Last Updated:** Wed Apr 23, 2014 03:41 PM UTC
**Owner:** elunlen

The value is 1 causing writes to be discarded with no buffering.

This was introduced by:
changeset:   4758:2e40297612ec
user:        Lennart Lund <[email protected]>
date:        Fri Dec 20 13:14:09 2013 +0100
summary:     logsv: Handle log files on both active and standby  [#152]


Previously the limits were unlimited, this one should be reverted back to 0 
(unlimited).



---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to