On 11/30/10 23:20, Perry Myers wrote:
> +<!-- What is the point of search_* methods?
> + output is list of tupples:
> + { filename (String), last_modified (Integer) }
> +
https://fedorahosted.org/matahari/wiki/LoggingAPIs
> + It's not part of Ricci API which is used as justification
> +
http://sources.redhat.com/cluster/conga/ricci_api/logging_api.html
Chris/Ryan, can you guys comment here?
In ricci you can pass a set of paths to read logfiles from, in matahari it looks
like the functions require you to specify a filename. Using the search_context
or search_name functions in matahari will let you find all the files in a path,
and then use those filenames to pull data out.
> + method name="search_content">
> +<arg name="paths" dir="I" type="list" />
> +<arg name="regex" dir="I" type="sstr" />
> +<arg name="filenames" dir="O" type="list" />
> +</method>
> + method name="search_name">
> +<arg name="paths" dir="I" type="list" />
> +<arg name="regex_list" dir="I" type="list" />
> +<arg name="filenames" dir="O" type="list" />
> +</method -->
> +<method name="system_logfile">
> +<arg name="filename" dir="O" type="lstr" />
> +</method>