{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/19720","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/19720/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/19720/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/19720/events","html_url":"https://github.com/owncloud/core/issues/19720","id":111054841,"number":19720,"title":"Review logging format with \\\\\\\\\\\\ between each word","user":{"login":"krichter722","id":4369372,"avatar_url":"https://avatars.githubusercontent.com/u/4369372?v=3","gravatar_id":"","url":"https://api.github.com/users/krichter722","html_url":"https://github.com/krichter722","followers_url":"https://api.github.com/users/krichter722/followers","following_url":"https://api.github.com/users/krichter722/following{/other_user}","gists_url":"https://api.github.com/users/krichter722/gists{/gist_id}","starred_url":"https://api.github.com/users/krichter722/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krichter722/subscriptions","organizations_url":"https://api.github.com/users/krichter722/orgs","repos_url":"https://api.github.com/users/krichter722/repos","events_url":"https://api.github.com/users/krichter722/events{/privacy}","received_events_url":"https://api.github.com/users/krichter722/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-12T20:58:21Z","updated_at":"2016-02-14T19:31:02Z","closed_at":"2016-02-14T19:31:02Z","body":"Logging entries in the form of \r\n\r\n    [Mon Oct 12 22:51:19.742645 2015] [:error] [pid 27265] [client 192.168.179.2:34000] {\"reqId\":\"u10OK5vBNUfzQvO4Bkt6\",\"remoteAddr\":\"192.168.179.2\",\"app\":\"index\",\"message\":\"Exception: {\\\\\"Exception\\\\\":\\\\\"Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\DBALException\\\\\",\\\\\"Message\\\\\":\\\\\"Failed to connect to the database: An exception occurred while executing 'PRAGMA journal_mode = WAL':\\\\\\\\n\\\\\\\\nSQLSTATE[HY000]: General error: 14 unable to open database file\\\\\",\\\\\"Code\\\\\":0,\\\\\"Trace\\\\\":\\\\\"#0 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/doctrine\\\\\\\\\\\\/dbal\\\\\\\\\\\\/lib\\\\\\\\\\\\/Doctrine\\\\\\\\\\\\/DBAL\\\\\\\\\\\\/Connection.php(973): OC\\\\\\\\\\\\\\\\DB\\\\\\\\\\\\\\\\Connection->connect()\\\\\\\\n#1 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/db\\\\\\\\\\\\/connection.php(151): Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)\\\\\\\\n#2 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/doctrine\\\\\\\\\\\\/dbal\\\\\\\\\\\\/lib\\\\\\\\\\\\/Doctrine\\\\\\\\\\\\/DBAL\\\\\\\\\\\\/Connection.php(621): OC\\\\\\\\\\\\\\\\DB\\\\\\\\\\\\\\\\Connection->executeUpdate('PRAGMA read_unc...')\\\\\\\\n#3 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/db\\\\\\\\\\\\/connection.php(83): Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\Connection->setTransactionIsolation(2)\\\\\\\\n#4 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/doctrine\\\\\\\\\\\\/dbal\\\\\\\\\\\\/lib\\\\\\\\\\\\/Doctrine\\\\\\\\\\\\/DBAL\\\\\\\\\\\\/DriverManager.php(172): OC\\\\\\\\\\\\\\\\DB\\\\\\\\\\\\\\\\Connection->__construct(Array, Object(Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\Driver\\\\\\\\\\\\\\\\PDOSqlite\\\\\\\\\\\\\\\\Driver), Object(Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\Configuration), Object(Doctrine\\\\\\\\\\\\\\\\Common\\\\\\\\\\\\\\\\EventManager))\\\\\\\\n#5 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/db\\\\\\\\\\\\/connectionfactory.php(124): Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\DriverManager::getConnection(Array, Object(Doctrine\\\\\\\\\\\\\\\\DBAL\\\\\\\\\\\\\\\\Configuration), Object(Doctrine\\\\\\\\\\\\\\\\Common\\\\\\\\\\\\\\\\EventManager))\\\\\\\\n#6 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(301): OC\\\\\\\\\\\\\\\\DB\\\\\\\\\\\\\\\\ConnectionFactory->getConnection('sqlite3', Array)\\\\\\\\n#7 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/pimple\\\\\\\\\\\\/pimple\\\\\\\\\\\\/src\\\\\\\\\\\\/Pimple\\\\\\\\\\\\/Container.php(112): OC\\\\\\\\\\\\\\\\Server->OC\\\\\\\\\\\\\\\\{closure}(Object(OC\\\\\\\\\\\\\\\\Server))\\\\\\\\n#8 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/appframework\\\\\\\\\\\\/utility\\\\\\\\\\\\/simplecontainer.php(96): Pimple\\\\\\\\\\\\\\\\Container->offsetGet('DatabaseConnect...')\\\\\\\\n#9 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(696): OC\\\\\\\\\\\\\\\\AppFramework\\\\\\\\\\\\\\\\Utility\\\\\\\\\\\\\\\\SimpleContainer->query('DatabaseConnect...')\\\\\\\\n#10 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/db.php(42): OC\\\\\\\\\\\\\\\\Server->getDatabaseConnection()\\\\\\\\n#11 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(209): OC_DB::getConnection()\\\\\\\\n#12 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/pimple\\\\\\\\\\\\/pimple\\\\\\\\\\\\/src\\\\\\\\\\\\/Pimple\\\\\\\\\\\\/Container.php(112): OC\\\\\\\\\\\\\\\\Server->OC\\\\\\\\\\\\\\\\{closure}(Object(OC\\\\\\\\\\\\\\\\Server))\\\\\\\\n#13 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/appframework\\\\\\\\\\\\/utility\\\\\\\\\\\\/simplecontainer.php(96): Pimple\\\\\\\\\\\\\\\\Container->offsetGet('AppConfig')\\\\\\\\n#14 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(642): OC\\\\\\\\\\\\\\\\AppFramework\\\\\\\\\\\\\\\\Utility\\\\\\\\\\\\\\\\SimpleContainer->query('AppConfig')\\\\\\\\n#15 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(343): OC\\\\\\\\\\\\\\\\Server->getAppConfig()\\\\\\\\n#16 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/3rdparty\\\\\\\\\\\\/pimple\\\\\\\\\\\\/pimple\\\\\\\\\\\\/src\\\\\\\\\\\\/Pimple\\\\\\\\\\\\/Container.php(112): OC\\\\\\\\\\\\\\\\Server->OC\\\\\\\\\\\\\\\\{closure}(Object(OC\\\\\\\\\\\\\\\\Server))\\\\\\\\n#17 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/appframework\\\\\\\\\\\\/utility\\\\\\\\\\\\/simplecontainer.php(96): Pimple\\\\\\\\\\\\\\\\Container->offsetGet('AppManager')\\\\\\\\n#18 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/server.php(862): OC\\\\\\\\\\\\\\\\AppFramework\\\\\\\\\\\\\\\\Utility\\\\\\\\\\\\\\\\SimpleContainer->query('AppManager')\\\\\\\\n#19 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/app.php(238): OC\\\\\\\\\\\\\\\\Server->getAppManager()\\\\\\\\n#20 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/app.php(93): OC_App::getEnabledApps()\\\\\\\\n#21 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/base.php(592): OC_App::loadApps(Array)\\\\\\\\n#22 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/base.php(1122): OC::init()\\\\\\\\n#23 \\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/index.php(38): require_once('\\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/ownclo...')\\\\\\\\n#24 {main}\\\\\",\\\\\"File\\\\\":\\\\\"\\\\\\\\\\\\/var\\\\\\\\\\\\/www\\\\\\\\\\\\/owncloud\\\\\\\\\\\\/lib\\\\\\\\\\\\/private\\\\\\\\\\\\/db\\\\\\\\\\\\/connection.php\\\\\",\\\\\"Line\\\\\":50}\",\"level\":4,\"time\":\"2015-10-12T20:51:19+00:00\"}\r\n\r\nshouldn't occur.\r\n\r\nexperienced with 8.1.3 running on apache 2.4"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/183961556","html_url":"https://github.com/owncloud/core/issues/19720#issuecomment-183961556","issue_url":"https://api.github.com/repos/owncloud/core/issues/19720","id":183961556,"user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T19:31:02Z","updated_at":"2016-02-14T19:31:02Z","body":"I can't reproduce this anymore. Exceptions contain usually `\\\\\\\\` between each namespace hierarchy because this is a JSON object (error object) within a JSON object (log line) and this escaping is fine.\r\n\r\nFeel free to reopen if you still see the 8 \\ in the log lines."}}