| ... | ... |
@@ -207,7 +207,10 @@ class SecureDownloadsJob |
| 207 | 207 |
|
| 208 | 208 |
// Continue if no member found |
| 209 | 209 |
if ($objMember === null) {
|
| 210 |
- $this->logger->log(LogLevel::WARNING, sprintf('Could not find member for file "%s". (%s) [%s]', $objFile->name, implode(' AND ',$arrColumns),implode(', ',$arrValues)), array('contao' => new ContaoContext(__METHOD__, 'ERROR')));
|
|
| 210 |
+ if (System::getContainer()->getParameter('kernel.debug'))
|
|
| 211 |
+ {
|
|
| 212 |
+ $this->logger->log(LogLevel::WARNING, sprintf('Could not find member for file "%s". (%s) [%s]', $objFile->name, implode(' AND ',$arrColumns),implode(', ',$arrValues)), array('contao' => new ContaoContext(__METHOD__, 'ERROR')));
|
|
| 213 |
+ } |
|
| 211 | 214 |
continue; |
| 212 | 215 |
} |
| 213 | 216 |
|