From beaa328995cb2a32871259978d8da4acb3dc7715 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 12 May 2015 08:00:14 +0200 Subject: [PATCH] go logging --- .gitignore | 1 + composer.json | 3 +- composer.lock | 115 +++++++++++++++++++++++++++++++++++++++++++++++++- logs/.gitkeep | 0 4 files changed, 116 insertions(+), 3 deletions(-) create mode 100644 logs/.gitkeep diff --git a/.gitignore b/.gitignore index cfc2631..379156e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vendor nbproject app/credentials.ini config/credentials.ini +logs/*.log diff --git a/composer.json b/composer.json index 685df29..0af412a 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "league/plates": "~3.1", "rdlowrey/auryn": "dev-master", "m6w6/pharext.wiki": "dev-master", - "m6w6/pq-gateway": "^2.0" + "m6w6/pq-gateway": "^2.0", + "monolog/monolog": "^1.13" } } diff --git a/composer.lock b/composer.lock index b6233cb..887508d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "a2c6e7fb3b26571277d242842331c3cb", + "hash": "6c9f8c8951d5c56a9de109fd70ec3604", "packages": [ { "name": "league/plates", @@ -108,7 +108,7 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/m6w6/pharext/zipball/e458434f1a5539f1905e61835bed0123f1635067", + "url": "https://api.github.com/repos/m6w6/pharext/zipball/104022998764f0f0c94e5e2e4023c99d01ac5483", "reference": "e458434f1a5539f1905e61835bed0123f1635067", "shasum": "" }, @@ -187,6 +187,79 @@ ], "time": "2014-10-15 15:30:26" }, + { + "name": "monolog/monolog", + "version": "1.13.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", + "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "~2.4, >2.4.8", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "phpunit/phpunit": "~4.0", + "raven/raven": "~0.5", + "ruflin/elastica": "0.90.*", + "swiftmailer/swiftmailer": "~5.3", + "videlalvaro/php-amqplib": "~2.4" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "raven/raven": "Allow sending log messages to a Sentry server", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.13.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "time": "2015-03-09 09:58:04" + }, { "name": "nikic/fast-route", "version": "v0.4.0", @@ -230,6 +303,44 @@ ], "time": "2015-02-26 15:33:07" }, + { + "name": "psr/log", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", + "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-0": { + "Psr\\Log\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2012-12-21 11:40:51" + }, { "name": "rdlowrey/auryn", "version": "dev-master", diff --git a/logs/.gitkeep b/logs/.gitkeep new file mode 100644 index 0000000..e69de29 -- 2.30.2