]> bicyclesonthemoon.info Git - ott/mirror/commitdiff
old logs handling
authorb <rowerynaksiezycu@gmail.com>
Mon, 19 Feb 2024 20:36:13 +0000 (20:36 +0000)
committerb <rowerynaksiezycu@gmail.com>
Mon, 19 Feb 2024 20:36:13 +0000 (20:36 +0000)
bb2html.1.awk
mview.1.awk
ottmirror.1.cron
posted.1.awk
redirect.1.c
settings-debug.txt
settings-release.txt

index ccf908a07bdfcfe4320c03ebaaf9d69ca9dd518c..76cf7efe08bdaeb08a1ae2d596dc03f1c4e1126e 100644 (file)
@@ -1,6 +1,6 @@
 # OTT mirror\r
 # Copyright (C) 2014, 2024 Balthasar Szczepański\r
-# bb2html.awk is generated from bb2html.1.awk\r
+# bb2html.awk automatically generated from bb2html.1.awk\r
 # translate BBcode to HTML and add to post file.\r
 \r
 # This file is part of OTT mirror.\r
index 186c8009935c8b35e2792e421884ff7f917682cd..db9be625b27b38093e0f62510794e58bcbdab1b4 100644 (file)
@@ -1,6 +1,6 @@
 # OTT mirror
 # Copyright (C) 2014, 2024 Balthasar Szczepański
-# mview.awk is automatically generated from mview.1.awk
+# mview.awk automatically generated from mview.1.awk
 # view the contents of posts from the mirror.
 
 # This file is part of OTT mirror.
index edc1b70b8ecf7c45ad3a464ea9531fb89c6bef80..d8c8f3b24ee98fa0f9e97694b8ca5c4e7d02bd43 100644 (file)
 ###cron_blitz_schedule; ###cron_user; ###bin_bot3_path;
 
 #mustard reketchup
-###cron_mustard_reketchup_schedule; ###cron_user; ###perl; ###bin_bot2m_path; > ###log_bot2m_path;
+###cron_mustard_reketchup_schedule; ###cron_user; ###perl; ###bin_bot2m_path; >> ###log_bot2m_path;
 
 #log relocation
-#TODO: Replace with better mechanism!
-# ###cron_log_relocation_schedule; ###cron_user; ###mv; ###log_bot2_path;1 ###log_bot2_path;1.lastweek
-# ###cron_log_relocation_schedule; ###cron_user; ###mv; ###log_bot2_path;2 ###log_bot2_path;2.lastweek
-# ###cron_log_relocation_schedule; ###cron_user; ###mv; ###log_bot2_path;3 ###log_bot2_path;3.lastweek
-# ###cron_log_relocation_schedule; ###cron_user; ###mv; ###log_bot3_path; ###log_bot3_path;.lastweek
-###cron_log_relocation_schedule; ###cron_user; ###mv; ###log_bot2m_path; ###log_bot2m_path;.lastweek
+###cron_log_relocation_schedule; ###oldlogs; ###log_path; ###log_size_limit; ###logs_total; ###logs_uncompressed;
index 0dd36cec1249f0d1a64a3a55f2e144fad9fc3225..b9492de45cd673409225dbe1227c2c3d9f4eead1 100644 (file)
@@ -1,6 +1,6 @@
 # OTT mirror\r
 # Copyright (C) 2014, 2024 Balthasar Szczepański\r
-# posted.awk is automatically generated from posted.1.awk\r
+# posted.awk automatically generated from posted.1.awk\r
 # one post recently sent from the mirror\r
 \r
 # This file is part of OTT mirror.\r
index d85c067a03e00e862d40fa80f0bddf5c098b476b..ad3f8c524bc8311af60d5764c78abb9533b42cb8 100644 (file)
@@ -1,6 +1,6 @@
 // OTT mirror\r
 // Copyright (C) 2014, 2024 Balthasar Szczepański\r
-// redirect.c is automaticaly generated from redirect.1.c\r
+// redirect.c automatically generated from redirect.1.c\r
 // redirect service for the "Jump to:" list.\r
 //\r
 // This file is part of OTT mirror.\r
index 175d7671ea5c65e8f1345b15fa31bb34e7842bfc..6031ffde1cb3e279030413cf5fd6250429a7ce8e 100644 (file)
@@ -44,6 +44,7 @@ bot3_url       : http://1190.bicyclesonthemoon.info/bothasar_p/
 default_subject: Re: 1190: "Time"
 
 sendpost: /botm/bin/post/sendpost
+oldlogs:  /botm/bin/oldlogs/oldlogs.pl
 
 awk  : /usr/bin/mawk
 cat  : /usr/bin/cat
@@ -83,3 +84,7 @@ cron_mustard_post_schedule: #26 23 * * *
 cron_mustard_reketchup_schedule: 32 4 * * *
 
 cron_log_relocation_schedule: 0 0 * * 1
+
+log_size_limit: 65536
+logs_uncompressed: 1
+logs_total: 5
index f2f6e5cc7ae2af8bd19a276901a96c12a47553b8..48adc7fef0fc18ad896e978fadc2aa9ce948242c 100644 (file)
@@ -35,15 +35,16 @@ smiley_regexp    : ((url.\.)|(((href)|(src))=.http:\/\/((for(ums3?|a)\.xkcd\.com
 smiley_regexp2   : ((\.)|(http:\/\/((for(ums3?|a)\.xkcd\.com)|echochamber\.me)))\/images\/smilies
 avatar_regexp    : ((src)|(href))=.http:\/\/((for(ums3?|a)\.xkcd\.com)|echochamber\.me)\/download\/file.php\?avatar=
 attachment_regexp: ((src)|(href))=.http:\/\/(www\.)?((for(ums3?|a)\.xkcd\.com)|echochamber\.me)\/download\/file.php\?(mode=view\&amp;)?id=
-own_image_regexp : ((1190.bicyclesonthemoon.(dnsd.)?info)|(1190-botm.dnsdynamic.com))\/ott\/image\/
+own_image_regexp : ((1190.bicyclesonthemoon.(dnsd.)?info)|(1190-botm.dnsdynamic.com))\/ottest\/image\/
 
 own_domain     : 1190.bicyclesonthemoon.info
-own_url        : http://1190.bicyclesonthemoon.info/ott
+own_url        : http://1190.bicyclesonthemoon.info/ottest
 bot3name       : bothasar_p
 bot3_url       : http://1190.bicyclesonthemoon.info/bothasar_p/
 default_subject: Re: 1190: "Time"
 
 sendpost: /botm/bin/post/sendpost
+oldlogs:  /botm/bin/oldlogs/oldlogs.pl
 
 awk  : /usr/bin/mawk
 cat  : /usr/bin/cat
@@ -83,3 +84,7 @@ cron_mustard_post_schedule: #26 23 * * *
 cron_mustard_reketchup_schedule: #32 4 * * *
 
 cron_log_relocation_schedule: 0 0 * * 1
+
+log_size_limit: 65536
+logs_uncompressed: 1
+logs_total: 5