Module: sip-router Branch: janakj/flatstore Commit: ca8493c30735c844820c0af2808223a19d6b9e22 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ca8493c3...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Wed Mar 19 19:31:30 2008 +0000
- updated old entity names
git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3939 689a6050-402a-0410-94f2-e92a70836424
---
modules/db_flatstore/km_doc/db_flatstore.xml | 2 +- modules/db_flatstore/km_doc/db_flatstore_admin.xml | 28 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/modules/db_flatstore/km_doc/db_flatstore.xml b/modules/db_flatstore/km_doc/db_flatstore.xml index dafd5d5..a766d63 100644 --- a/modules/db_flatstore/km_doc/db_flatstore.xml +++ b/modules/db_flatstore/km_doc/db_flatstore.xml @@ -16,7 +16,7 @@ <book> <bookinfo> <title>Flatstore Module</title> - <productname class="trade">&sername;</productname> + <productname class="trade">&opensername;</productname> <authorgroup> <author> <firstname>Jan</firstname> diff --git a/modules/db_flatstore/km_doc/db_flatstore_admin.xml b/modules/db_flatstore/km_doc/db_flatstore_admin.xml index 60d872e..8c78440 100644 --- a/modules/db_flatstore/km_doc/db_flatstore_admin.xml +++ b/modules/db_flatstore/km_doc/db_flatstore_admin.xml @@ -7,7 +7,7 @@ <section> <title>Overview</title> <para> - Flatstore is one of so-called &ser; database modules. It does not + Flatstore is one of so-called &openser; database modules. It does not export any functions executable from the configuration scripts, but it exports a subset of functions from the database API and thus other module can use it instead of, for example, mysql module. @@ -38,7 +38,7 @@ modparam("acc", "db_url", "flatstore:/var/log/acc") <para> This configuration options tells acc module that it should use the flatstore module and the flatstore module should create all files - in /var/log/acc directory. The directory must exist and &ser; + in /var/log/acc directory. The directory must exist and &openser; processes must have permissions to create files in that directory. </para> <para> @@ -48,12 +48,12 @@ modparam("acc", "db_url", "flatstore:/var/log/acc") <table_name>_<process_name>.log </programlisting> <para> - For example, entries writen by &ser; process 8 into acc table would + For example, entries writen by &openser; process 8 into acc table would be written in file acc_8.log. For each table there will be several - files, one file for every &ser; process that wrote some data into + files, one file for every &openser; process that wrote some data into that table. The main reason why there are several files for each table is that it is much faster to have one file per process, - because it does not require any locking and thus &ser; processes will + because it does not require any locking and thus &openser; processes will not block each other. To get the complete data for a table you can simply concatenate the contents of files with the same table name but different process id. @@ -61,9 +61,9 @@ modparam("acc", "db_url", "flatstore:/var/log/acc") <section id="rotating"> <title>Rotating Log Files</title> <para> - There is a new &ser; MI (management interface) command called + There is a new &openser; MI (management interface) command called flat_rotate. - When &ser; receives the command then it will close and reopen all + When &openser; receives the command then it will close and reopen all files used by flatstore module. The rotation itself has to be done by another application (such as logrotate). Follow these steps to rotate files generated by flatstore module: @@ -79,21 +79,21 @@ mv acc_2.log acc_2.log.20050605 mv acc_4.log acc_3.log.20050605 ... </screen> - Note that at this point &ser; will still be writing all + Note that at this point &openser; will still be writing all data into the renamed files. </para> </listitem> <listitem> <para> - Send &ser; the MI command to close and reopen the + Send &openser; the MI command to close and reopen the renamed files. For example, using FIFO: <screen> openserctl fifo flat_rotate </screen> - This will force &ser; to close the renamed files and open + This will force &openser; to close the renamed files and open new ones with original names, such as <filename>acc_1.log</filename>. New files will be open - at the point when &ser; has some data to write. It is + at the point when &openser; has some data to write. It is normal that the files will be not created immediately if there is no traffic on the proxy server. </para> @@ -110,13 +110,13 @@ openserctl fifo flat_rotate <section> <title>Dependencies</title> <section> - <title>&ser; Modules</title> + <title>&openser; Modules</title> <para> The following modules must be loaded before this module: <itemizedlist> <listitem> <para> - <emphasis>No dependencies on other &ser; modules</emphasis>. + <emphasis>No dependencies on other &openser; modules</emphasis>. </para> </listitem> </itemizedlist> @@ -126,7 +126,7 @@ openserctl fifo flat_rotate <title>External Libraries or Applications</title> <para> The following libraries or applications must be installed before running - &ser; with this module loaded: + &openser; with this module loaded: <itemizedlist> <listitem> <para>