On 12/10/2012 01:22 PM, Tom Eastep wrote:
> On 12/10/2012 10:04 AM, Mr Dash Four wrote:
>>
>>> New Features:
>>>
>>> 1)  The variables $_loglevel and $_logtag (${_loglevel} and ${_logtag})
>>>       are now available within action bodies. Their contents are:
>>>
>>>       $_loglevel
>>>     
>>>     The log level specified when the action was invoked. If no
>>>     level was specified, $_loglevel expands to 'none'.
>>>
>>>       $_logtag
>>>
>>>     The log tag specified when the action was invoked. If no tag
>>>     was specified, $_logtag expands to an empty string.
>>>
>>> 2)  Action variables ($0, $1,...$n,$_loglevel and $_logtag) are now
>>>       available in ?IF and ?ELSIF directives.
>>>
>> Should I assume that the '@_loglevel', '@_logtag' (as well as
>> '@{_loglevel}', '@{_logtag}') are also available? You may also wish to
>> introduce "$_chain" ('@_chain, '@{_chain}') as an alternative to $0 (@0,
>> @{0}) to keep this consistent.
>
> I see no requirement for @_loglevel and @_logtag and I really don't want
> to expand the use of @... any more than is absolutely necessary.
>
>>
>> Also, am I right in assuming that these can be set with ?SET as
>> described below?
>
> Yes.
>

I mis-spoke here. In the current code, action variables cannot be 
altered using the ?set directive.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to