Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

Commit

Permalink
Add some basic mediawiki error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
addshore committed Oct 30, 2017
1 parent 58bd174 commit 5672fa4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wikibase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ FROM mediawiki:1.29

RUN a2enmod rewrite

RUN install -d /var/log/mediawiki -o www-data

COPY --from=composer /Wikibase /var/www/html/extensions/Wikibase
COPY wait-for-it.sh /wait-for-it.sh
COPY entrypoint.sh /entrypoint.sh
Expand Down
7 changes: 7 additions & 0 deletions wikibase/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
$wgDBuser = "wikiuser";
$wgDBpassword = "sqlpass";

## Logs
$wgDebugLogGroups = array(
'resourceloader' => '/var/log/mediawiki/resourceloader.log',
'exception' => '/var/log/mediawiki/exception.log',
'error' => '/var/log/mediawiki/error.log',
);

## Locale

$wgShellLocale = "en_US.utf8";
Expand Down

0 comments on commit 5672fa4

Please sign in to comment.