nsmcp::FileLogSource method init (protected)

 <instance of nsmcp::FileLogSource[i]> init

Defined in /usr/local/ns/tcl/nsmcp/lib/log-source.tcl

Testcases:
No testcase defined.
Source code:
if {${:maxReadBytes} < 1 || ${:maxEvents} < 1 || ${:maxMessageBytes} < 1} {
    error "log source limits must be positive"
}
set :path [file normalize ${:path}]
if {${:mutex} eq ""} {set :mutex [ns_mutex create]}
set :cacheKey [ns_crypto::md string -digest sha256 --  [list [ns_info server] [self] ${:path} ${:maxEvents} ${:maxMessageBytes} ${:recordParser}]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: