irc::logger::get_log (public)

 irc::logger::get_log -date date -package_id package_id

Defined in packages/irc-logger/tcl/irc-logger-procs.tcl

Check which .rdf file holds the current IRC log in RDF format as created by Dave Beckett's logger.

Switches:
-date (required)
The date in YYYY-MM-DD format to get the IRC log of.
-package_id (required)
The package_id of the mounted IRC logger instance to get the log for.
Returns:
The full path to the IRC log in RDF format.
Error:
Return the empty string
Author:
Bart Teeuwisse <bart.teeuwisse@thecodemill.biz>
Created:
2003-01-27

Partial Call Graph (max 5 caller/called nodes):
%3 irc::logger::update_log irc::logger::update_log (public) irc::logger::get_log irc::logger::get_log irc::logger::update_log->irc::logger::get_log parameter::get parameter::get (public) irc::logger::get_log->parameter::get

Testcases:
No testcase defined.
Source code:

    # Locate the RDF log of the given date

    foreach rdf_log [glob -nocomplain -directory [parameter::get  -parameter irc_rdf_dir  -package_id $package_id  -default ""$date.rdf] {
        return $rdf_log
    }

    # Couldn't find the log, return the empty string.

    return ""
XQL Not present:
Oracle
Generic XQL file:
packages/irc-logger/tcl/irc-logger-procs.xql

PostgreSQL XQL file:
packages/irc-logger/tcl/irc-logger-procs-postgresql.xql

[ hide source ] | [ make this the default ]
Show another procedure: