vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r23194: LJSUP-14061: disable old db log storage

Committer: vad
LJSUP-14061: disable old db log storage
U   trunk/cgi-bin/LJ/AccessLogSink/Database.pm
Modified: trunk/cgi-bin/LJ/AccessLogSink/Database.pm
===================================================================
--- trunk/cgi-bin/LJ/AccessLogSink/Database.pm	2012-10-24 13:57:07 UTC (rev 23193)
+++ trunk/cgi-bin/LJ/AccessLogSink/Database.pm	2012-10-24 15:42:58 UTC (rev 23194)
@@ -44,6 +44,8 @@
 sub log {
     my ($self, $rec) = @_;
 
+    return 0 unless LJ::is_enabled('db_access_logs');
+
     return 0 unless $self->should_log($rec);
 
     my $dbl = LJ::get_dbh($self->database_role)

Tags: livejournal, pm, vad, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments