mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
improve exception matching
This commit is contained in:
parent
fede9c942b
commit
d9ceffeae3
8 changed files with 8517 additions and 8269 deletions
231
data/src/data/deck_1_13.rs
Normal file
231
data/src/data/deck_1_13.rs
Normal file
|
|
@ -0,0 +1,231 @@
|
||||||
|
pub const STATEMENTS: &[crate::LoggingStatement] = &[
|
||||||
|
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/DeckProvider.php" , line : 82usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/DeckProvider.php" , line : 115usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/DeckProvider.php" , line : 132usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Activity/ActivityManager.php" , line : 324usize , placeholders : & ["$subject"] , exception : None , regex : "^Could not create activity entry for (.*)\\. Entity not found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Activity/ActivityManager.php" , line : 327usize , placeholders : & ["$subject"] , exception : None , regex : "^Could not create activity entry for (.*)\\. Entity not found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/ActivityManager.php" , line : 400usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Unknown subject for activity\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/ActivityManager.php" , line : 435usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Subject parameters too long$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/ActivityManager.php" , line : 506usize , placeholders : & ["$className" , "$objectType"] , exception : Some ("InvalidArgumentException") , regex : "^No entity relation present for (.*) to (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/ActivityManager.php" , line : 521usize , placeholders : & ["$className" , "$objectType"] , exception : Some ("InvalidArgumentException") , regex : "^No entity relation present for (.*) to (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/ActivityManager.php" , line : 525usize , placeholders : & ["$className" , "$objectType"] , exception : Some ("InvalidArgumentException") , regex : "^No entity relation present for (.*) to (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Validators/BaseValidator.php" , line : 61usize , placeholders : & ["$this->getErrorMessage($rule, $field, $parameter)"] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Validators/BaseValidator.php" , line : 66usize , placeholders : & ["$field" , "str_replace(\"_\", \" \", $rule)"] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^(.*) must be provided and must be (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Validators/BaseValidator.php" , line : 74usize , placeholders : & ["$field"] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^(.*) must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Validators/BaseValidator.php" , line : 133usize , placeholders : & ["json_encode($limit)"] , exception : Some ("Exception") , regex : "^Validation rule max requires at least 1 parameter\\. (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Validators/BaseValidator.php" , line : 143usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Validation rule max requires at least 1 parameter\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/CalendarObject.php" , line : 66usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^Setting ACL is not supported on this node$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/CalendarObject.php" , line : 74usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^This calendar\\-object is read\\-only$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/CalendarObject.php" , line : 96usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^This calendar\\-object is read\\-only$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/CalendarObject.php" , line : 104usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^This calendar\\-object is read\\-only$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/DeckCalendarBackend.php" , line : 69usize , placeholders : & ["$id"] , exception : Some ("Sabre\\DAV\\Exception\\NotFound") , regex : "^Board with id (.*) not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 81usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^Setting ACL is not supported on this node$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 114usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^Creating a new entry is not implemented$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 129usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\NotFound") , regex : "^Node not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 171usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^Deleting an entry is not implemented$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 192usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^no permission to change the displayname$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 201usize , placeholders : & [] , exception : Some ("Sabre\\DAV\\Exception\\Forbidden") , regex : "^no permission to change the calendar color$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/DAV/Calendar.php" , line : 205usize , placeholders : & [] , exception : Some ("Sabre\\VObject\\InvalidDataException") , regex : "^No valid color provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Migration/DeletedCircleCleanup.php" , line : 32usize , placeholders : & ["$acl->getParticipant()"] , exception : None , regex : "^Removed circle with id (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Notification/Notifier.php" , line : 96usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Notification/Notifier.php" , line : 107usize , placeholders : & [] , exception : Some ("OCP\\Notification\\AlreadyProcessedException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Notification/Notifier.php" , line : 150usize , placeholders : & [] , exception : Some ("OCP\\Notification\\AlreadyProcessedException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Notification/Notifier.php" , line : 182usize , placeholders : & [] , exception : Some ("OCP\\Notification\\AlreadyProcessedException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Notification/Notifier.php" , line : 220usize , placeholders : & [] , exception : Some ("OCP\\Notification\\AlreadyProcessedException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Controller/BoardApiController.php" , line : 72usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Invalid If\\-Modified\\-Since header provided\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Controller/StackApiController.php" , line : 67usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Invalid If\\-Modified\\-Since header provided\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Cron/ScheduledNotifications.php" , line : 68usize , placeholders : & ["$card->getId()"] , exception : None , regex : "^Could not create overdue notification for card with id (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Cron/SessionsCleanup.php" , line : 51usize , placeholders : & [] , exception : None , regex : "^Run cleanup job for deck sessions$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Cron/SessionsCleanup.php" , line : 54usize , placeholders : & ["$removedSessions"] , exception : None , regex : "^Removed (.*) inactive sessions$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppInfo/Application.php" , line : 125usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Cannot include autoload\\. Did you run install dependencies using composer\\?$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportCommandService.php" , line : 87usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^Config file not found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportCommandService.php" , line : 91usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^Failed to parse JSON\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportCommandService.php" , line : 107usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^config file not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportCommandService.php" , line : 155usize , placeholders : & ["$data"] , exception : Some ("OCP\\Files\\NotFoundException") , regex : "^Could not find file (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportCommandService.php" , line : 179usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^Data file not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Service/Importer/BoardImportService.php" , line : 111usize , placeholders : & ["$message"] , exception : None , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Service/Importer/BoardImportService.php" , line : 149usize , placeholders : & [] , exception : None , regex : "^Failed to import board$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 150usize , placeholders : & ["$th->getMessage()"] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 159usize , placeholders : & ["$this->getSystem()"] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^Invalid system: (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 207usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^System to import not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 229usize , placeholders : & ["$board->getOwner()"] , exception : Some ("Exception") , regex : "^Target owner (.*) not found\\. Please provide a mapping through the import config\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 359usize , placeholders : & [] , exception : Some ("OCP\\Comments\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 362usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid parent id: The parent comment was not found or belongs to a different card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 369usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid input values$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 371usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^Could not create comment\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 396usize , placeholders : & [] , exception : Some ("OCA\\Deck\\Exceptions\\ConflictException") , regex : "^File already exists\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 467usize , placeholders : & [] , exception : Some ("OCA\\Deck\\Exceptions\\ConflictException") , regex : "^Invalid config file$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/BoardImportService.php" , line : 480usize , placeholders : & ["$this->getConfig('owner')->getUID()"] , exception : Some ("LogicException") , regex : "^Owner \"(.*)\" not found on Nextcloud\\. Check setting json\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloJsonService.php" , line : 86usize , placeholders : & ["$trelloUid"] , exception : Some ("LogicException") , regex : "^Trello user (.*) not found in property \"members\" of json data$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloJsonService.php" , line : 89usize , placeholders : & [] , exception : Some ("LogicException") , regex : "^User on setting uidRelation is invalid$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloJsonService.php" , line : 94usize , placeholders : & ["$nextcloudUid"] , exception : Some ("LogicException") , regex : "^User on setting uidRelation not found: (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloJsonService.php" , line : 208usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid name of board$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloApiService.php" , line : 159usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Invalid board id to import$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloApiService.php" , line : 181usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Invalid return of api$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Critical , path : "/lib/Service/Importer/Systems/TrelloApiService.php" , line : 183usize , placeholders : & ["$e->getMessage()"] , exception : None , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloApiService.php" , line : 187usize , placeholders : & ["$e->getMessage()"] , exception : Some ("Exception") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/TrelloApiService.php" , line : 203usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Invalid return of api$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/DeckJsonService.php" , line : 68usize , placeholders : & [] , exception : Some ("LogicException") , regex : "^User on setting uidRelation is invalid$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/DeckJsonService.php" , line : 73usize , placeholders : & ["$nextcloudUid"] , exception : Some ("LogicException") , regex : "^User on setting uidRelation not found: (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/Importer/Systems/DeckJsonService.php" , line : 142usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid name of board$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/PermissionService.php" , line : 163usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/PermissionService.php" , line : 172usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Card is deleted$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/PermissionService.php" , line : 180usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 233usize , placeholders : & [] , exception : None , regex : "^Member not found in circle that was accessed\\. This should not happen\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 270usize , placeholders : & ["$board->getId()"] , exception : None , regex : "^No owner found for board (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 279usize , placeholders : & ["$acl->getId()"] , exception : None , regex : "^No user found for acl rule (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 287usize , placeholders : & ["$acl->getId()"] , exception : None , regex : "^No group found for acl rule (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 299usize , placeholders : & ["$acl->getId()"] , exception : None , regex : "^No circle found for acl rule (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 310usize , placeholders : & ["$member->getUserId()"] , exception : None , regex : "^No user found for circle member (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/PermissionService.php" , line : 316usize , placeholders : & [] , exception : None , regex : "^Member not found in circle that was accessed\\. This should not happen\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Service/CardService.php" , line : 203usize , placeholders : & ["$boardId"] , exception : None , regex : "^Unable to check permission for a previously obtained board (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 230usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 260usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^card id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 265usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 305usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 309usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 315usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Operation not allowed\\. This card was deleted\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 399usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 403usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 433usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 438usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 451usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 489usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 518usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 543usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 569usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 597usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 601usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 626usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CardService.php" , line : 630usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This card is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AssignmentService.php" , line : 125usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid type provided for assignemnt$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AssignmentService.php" , line : 132usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^The user is already assigned to the card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AssignmentService.php" , line : 143usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^The user is not part of the board$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AssignmentService.php" , line : 195usize , placeholders : & ["$userId"] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^No assignment for (.*)found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 91usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^You must be admin to get the group limit$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 152usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Must be logged in to set user config$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 160usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^You must be admin to set the group limit$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 179usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Board notification option must be one of: off, assigned, all$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 228usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Must be logged in get the attachment folder$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/ConfigService.php" , line : 236usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Must be logged in get the attachment folder$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/BoardService.php" , line : 258usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Creating boards has been disabled for your account\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/BoardService.php" , line : 311usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^This board has already been deleted$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/BoardService.php" , line : 551usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Creating boards has been disabled for your account\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/BoardService.php" , line : 640usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^board id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 71usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^label id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 96usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^title must be unique$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 102usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 126usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 157usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^title must be unique$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/LabelService.php" , line : 163usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 121usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^stack id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 152usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^boardId must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Service/StackService.php" , line : 166usize , placeholders : & ["$boardId"] , exception : None , regex : "^Unable to check permission for a previously obtained board (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 189usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^board id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 226usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 253usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^stack id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/StackService.php" , line : 293usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Operation not allowed\\. This board is archived\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/FileService.php" , line : 103usize , placeholders : & [] , exception : None , regex : "^Extending data for file attachment failed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Info , path : "/lib/Service/FileService.php" , line : 106usize , placeholders : & [] , exception : None , regex : "^Extending data for file attachment failed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FileService.php" , line : 142usize , placeholders : & ["$error"] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FileService.php" , line : 159usize , placeholders : & [] , exception : Some ("OCA\\Deck\\Exceptions\\ConflictException") , regex : "^File already exists\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FileService.php" , line : 165usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Could not read file$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FileService.php" , line : 188usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Could not read file$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FileService.php" , line : 219usize , placeholders : & [] , exception : Some ("Exception") , regex : "^no instance id!$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 116usize , placeholders : & ["$type"] , exception : Some ("OCA\\Deck\\InvalidAttachmentType") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 127usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^card id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 167usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^card id must be a number$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 216usize , placeholders : & ["$this->l10n->t('No data was provided to create an attachment.')"] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 246usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 253usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 260usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 288usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 302usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 309usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 344usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 357usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 382usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Permission denied$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/AttachmentService.php" , line : 399usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Restore is not allowed\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 61usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^A valid card id must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 91usize , placeholders : & [] , exception : Some ("OCP\\Comments\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 94usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^No comment found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 127usize , placeholders : & [] , exception : Some ("OCP\\Comments\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 130usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid parent id: The parent comment was not found or belongs to a different card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 142usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^Invalid input values$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 145usize , placeholders : & ["$msg" , "IComment::MAX_MESSAGE_LENGTH"] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^(.*)(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 147usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^Could not create comment\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 153usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^A valid card id must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 156usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^A valid comment id must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 160usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Only authors are allowed to edit their comment\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 170usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^A valid card id must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 173usize , placeholders : & [] , exception : Some ("OCA\\Deck\\BadRequestException") , regex : "^A valid comment id must be provided$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 180usize , placeholders : & [] , exception : Some ("OCP\\Comments\\NotFoundException") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 183usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^No comment found\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/CommentService.php" , line : 186usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^Only authors are allowed to edit their comment\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Service/FilesAppService.php" , line : 98usize , placeholders : & ["$share->getId()"] , exception : None , regex : "^Unable to find node for share with ID (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 167usize , placeholders : & [] , exception : Some ("OCP\\Files\\NotFoundException") , regex : "^File not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 171usize , placeholders : & [] , exception : Some ("OCP\\Files\\NotFoundException") , regex : "^File not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 201usize , placeholders : & [] , exception : Some ("OCP\\Files\\NotFoundException") , regex : "^No target folder found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 208usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Could not read file$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 249usize , placeholders : & ["$error"] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 263usize , placeholders : & [] , exception : Some ("OCA\\Deck\\StatusException") , regex : "^Could not read file$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 291usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^No permission to remove the attachment from the card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 299usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Not implemented$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 309usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^No permission to access the attachment from the card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Service/FilesAppService.php" , line : 313usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NoPermissionException") , regex : "^No permission to access the attachment from the card$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/RelationalObject.php" , line : 67usize , placeholders : & ["get_class($this->getObject())"] , exception : Some ("Exception") , regex : "^jsonSerialize is not implemented on (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Db/BoardMapper.php" , line : 503usize , placeholders : & ["$acl->getId()" , "$acl->getParticipant()"] , exception : None , regex : "^User (.*) not found when mapping acl (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Db/BoardMapper.php" , line : 511usize , placeholders : & ["$acl->getId()" , "$acl->getParticipant()"] , exception : None , regex : "^Group (.*) not found when mapping acl (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Db/BoardMapper.php" , line : 524usize , placeholders : & [] , exception : None , regex : "^Failed to get circle details when building ACL$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Warn , path : "/lib/Db/BoardMapper.php" , line : 528usize , placeholders : & ["$acl->getId()"] , exception : None , regex : "^Unknown permission type for mapping acl (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/SessionMapper.php" , line : 49usize , placeholders : & [] , exception : Some ("OCP\\AppFramework\\Db\\DoesNotExistException") , regex : "^Session is invalid$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/SessionMapper.php" , line : 53usize , placeholders : & [] , exception : Some ("OCP\\AppFramework\\Db\\DoesNotExistException") , regex : "^Session is invalid$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/AssignmentMapper.php" , line : 114usize , placeholders : & [] , exception : Some ("OCA\\Deck\\NotFoundException") , regex : "^No origin found for assignment$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/RelationalEntity.php" , line : 126usize , placeholders : & [] , exception : Some ("Exception") , regex : "^resolver must return an instance of RelationalObject$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/ShareAPIHelper.php" , line : 61usize , placeholders : & ["$e->getMessage()"] , exception : Some ("OCP\\Files\\NotFoundException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/ShareAPIHelper.php" , line : 79usize , placeholders : & ["$this->l10n->t('Invalid date, date format must be YYYY-MM-DD')"] , exception : Some ("OCP\\AppFramework\\OCS\\OCSNotFoundException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/ShareAPIHelper.php" , line : 99usize , placeholders : & [] , exception : Some ("Exception") , regex : "^Invalid date\\. Format must be YYYY\\-MM\\-DD$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 135usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\GenericShareException") , regex : "^Card not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 141usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\GenericShareException") , regex : "^Already shared$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 237usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\ShareNotFound") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 606usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\ShareNotFound") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 610usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\ShareNotFound") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Sharing/DeckShareProvider.php" , line : 861usize , placeholders : & [] , exception : Some ("OCP\\Share\\Exceptions\\ShareNotFound") , regex : "^$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Collaboration/Resources/ResourceProviderCard.php" , line : 80usize , placeholders : & [] , exception : Some ("OCP\\Collaboration\\Resources\\ResourceException") , regex : "^No card found for resource$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Collaboration/Resources/ResourceProviderCard.php" , line : 82usize , placeholders : & [] , exception : Some ("OCP\\Collaboration\\Resources\\ResourceException") , regex : "^No unique card found for resource, this should never happen$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Listeners/FullTextSearchEventListener.php" , line : 105usize , placeholders : & [] , exception : None , regex : "^Error when handling deck full text search event$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Listeners/LiveUpdateListener.php" , line : 112usize , placeholders : & [] , exception : None , regex : "^Error when handling live update event$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/InstalledVersions.php" , line : 161usize , placeholders : & ["$packageName"] , exception : Some ("OutOfBoundsException") , regex : "^Package \"(.*)\" is not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/InstalledVersions.php" , line : 182usize , placeholders : & ["$packageName"] , exception : Some ("OutOfBoundsException") , regex : "^Package \"(.*)\" is not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/InstalledVersions.php" , line : 203usize , placeholders : & ["$packageName"] , exception : Some ("OutOfBoundsException") , regex : "^Package \"(.*)\" is not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/InstalledVersions.php" , line : 224usize , placeholders : & ["$packageName"] , exception : Some ("OutOfBoundsException") , regex : "^Package \"(.*)\" is not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/InstalledVersions.php" , line : 241usize , placeholders : & ["$packageName"] , exception : Some ("OutOfBoundsException") , regex : "^Package \"(.*)\" is not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/ClassLoader.php" , line : 250usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^A non\\-empty PSR\\-4 prefix must end with a namespace separator\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/composer/ClassLoader.php" , line : 305usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^A non\\-empty PSR\\-4 prefix must end with a namespace separator\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php" , line : 40usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^Ref value must be a string$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriResolver.php" , line : 140usize , placeholders : & ["sprintf(\"Unable to resolve URI '%s' from base '%s'\", $relativePath, $basePath)"] , exception : Some ("JsonSchema\\Exception\\UriResolverException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php" , line : 48usize , placeholders : & ["sprintf(\n 'The JSON schema \"%s\" was not found.',\n $uri\n )"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php" , line : 38usize , placeholders : & ["$errorMessage"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php" , line : 42usize , placeholders : & ["$uri"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^JSON schema not found at (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php" , line : 48usize , placeholders : & ["$uri"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^JSON schema not found at (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php" , line : 28usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\RuntimeException") , regex : "^cURL not installed$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php" , line : 48usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^JSON schema not found$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php" , line : 92usize , placeholders : & ["sprintf('Media type %s expected', Validator::SCHEMA_MEDIA_TYPE)"] , exception : Some ("JsonSchema\\Exception\\InvalidSchemaMediaTypeException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php" , line : 143usize , placeholders : & ["$parsed['fragment']" , "$uri"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^Fragment \"(.*)\" not found in (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php" , line : 150usize , placeholders : & ["$pathElement" , "$uri"] , exception : Some ("JsonSchema\\Exception\\ResourceNotFoundException") , regex : "^Fragment part \"(.*)\" is no object in (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php" , line : 213usize , placeholders : & ["$error"] , exception : Some ("JsonSchema\\Exception\\JsonDecodingException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php" , line : 131usize , placeholders : & ["sprintf(\n \"Could not resolve fragment '%s': no file is defined\",\n $jsonPointer->getPropertyPathAsString()\n )"] , exception : Some ("JsonSchema\\Exception\\UnresolvableJsonPointerException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php" , line : 145usize , placeholders : & ["sprintf(\n 'File: %s is found, but could not resolve fragment: %s',\n $jsonPointer->getFilename(),\n $jsonPointer->getPropertyPathAsString()\n )"] , exception : Some ("JsonSchema\\Exception\\UnresolvableJsonPointerException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php" , line : 40usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^no schema found to verify against$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php" , line : 52usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\RuntimeException") , regex : "^Cannot validate the schema of a non\\-object$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php" , line : 79usize , placeholders : & [] , exception : Some ("JsonSchema\\Exception\\InvalidSchemaException") , regex : "^Schema did not pass validation$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php" , line : 57usize , placeholders : & ["sprintf('Error validating %s: %s', $error['pointer'], $error['message'])"] , exception : Some ("JsonSchema\\Exception\\ValidationException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php" , line : 143usize , placeholders : & ["$message"] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php" , line : 168usize , placeholders : & ["$name"] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^Unknown constraint (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php" , line : 172usize , placeholders : & ["$name"] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^Invalid class (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php" , line : 191usize , placeholders : & ["$constraintName"] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^Unknown constraint (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php" , line : 138usize , placeholders : & ["sprintf(\n 'No wording for %s available, expected wordings are: [%s]',\n var_export($type, true),\n implode(', ', array_filter(self::$wording)))"] , exception : Some ("UnexpectedValueException") , regex : "^(.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php" , line : 214usize , placeholders : & ["(is_object($value) ? 'object' : $value)" , "$type"] , exception : Some ("JsonSchema\\Exception\\InvalidArgumentException") , regex : "^(.*) is an invalid type for (.*)$" , },
|
||||||
|
];
|
||||||
|
|
||||||
|
|
@ -9,37 +9,37 @@ pub const STATEMENTS: &[crate::LoggingStatement] = &[
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 153usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 153usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 180usize , placeholders : & ["$batchSize"] , exception : None , regex : "^Batch size is: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 180usize , placeholders : & ["$batchSize"] , exception : None , regex : "^Batch size is: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 288usize , placeholders : & ["$file->getId()"] , exception : None , regex : "^Scanning file with fileid: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/BackgroundJob/BackgroundScanner.php" , line : 288usize , placeholders : & ["$file->getId()"] , exception : None , regex : "^Scanning file with fileid: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/ItemMapper.php" , line : 40usize , placeholders : & [] , exception : Some ("\\InvalidArgumentException") , regex : "^$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/Provider.php" , line : 53usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Status.php" , line : 86usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Status.php" , line : 86usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 173usize , placeholders : & ["$key"] , exception : Some ("\\BadFunctionCallException") , regex : "^(.*) is not a valid key$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Item.php" , line : 160usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 189usize , placeholders : & ["$key"] , exception : Some ("\\BadFunctionCallException") , regex : "^(.*) is not a valid key$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Item.php" , line : 200usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 242usize , placeholders : & ["$methodName"] , exception : Some ("\\BadFunctionCallException") , regex : "^(.*) does not exist$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Item.php" , line : 245usize , placeholders : & ["$message" , "$this->generateExtraInfo()"] , exception : None , regex : "^(.*)(.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalKaspersky.php" , line : 58usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^The Kaspersky port and host are not set up\\.$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Item.php" , line : 252usize , placeholders : & ["$message" , "$this->generateExtraInfo()"] , exception : None , regex : "^(.*)(.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ExternalKaspersky.php" , line : 90usize , placeholders : & ["$response"] , exception : None , regex : "^Response :: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ResponseParser.php" , line : 58usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^Empty ICAP response$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ICAP.php" , line : 63usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^The ICAP port and host are not set up\\.$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ResponseParser.php" , line : 63usize , placeholders : & ["$icapHeader"] , exception : Some ("RuntimeException") , regex : "^Unknown ICAP response: \"(.*)\"$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ICAP.php" , line : 139usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^Invalid response from ICAP server$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ICAPTlsClient.php" , line : 63usize , placeholders : & ["$this->host" , "$this->port" , "$errorMessage" , "$errorCode"] , exception : Some ("RuntimeException") , regex : "^Cannot connect to \"tls://(.*):(.*)\": (.*) \\(code (.*)\\)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/LocalClam.php" , line : 41usize , placeholders : & ["$this->avPath"] , exception : Some ("\\RuntimeException") , regex : "^The antivirus executable could not be found at (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ICAPClient.php" , line : 73usize , placeholders : & ["$this->host" , "$this->port" , "$errorMessage" , "$errorCode"] , exception : Some ("RuntimeException") , regex : "^Cannot connect to \"tcp://(.*):(.*)\": (.*) \\(code (.*)\\)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/LocalClam.php" , line : 60usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^Error starting process$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 173usize , placeholders : & ["$key"] , exception : Some ("BadFunctionCallException") , regex : "^(.*) is not a valid key$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/LocalClam.php" , line : 74usize , placeholders : & ["$result" , "$output"] , exception : None , regex : "^Exit code :: (.*) Response :: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 189usize , placeholders : & ["$key"] , exception : Some ("BadFunctionCallException") , regex : "^(.*) is not a valid key$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ScannerBase.php" , line : 178usize , placeholders : & [] , exception : None , regex : "^reinit scanner$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AppConfig.php" , line : 242usize , placeholders : & ["$methodName"] , exception : Some ("BadFunctionCallException") , regex : "^(.*) does not exist$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Warn , path : "/lib/Scanner/ScannerBase.php" , line : 191usize , placeholders : & [] , exception : None , regex : "^Failed to write a chunk\\. Check if Stream Length matches StreamMaxLength in anti virus daemon settings$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ScannerFactory.php" , line : 52usize , placeholders : & ["$avMode"] , exception : Some ("\\InvalidArgumentException") , regex : "^Application is misconfigured\\. Please check the settings at the admin page\\. Invalid mode: (.*)$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 41usize , placeholders : & ["$avSocket" , "$errstr" , "$errno"] , exception : Some ("\\RuntimeException") , regex : "^Cannot connect to \"(.*)\": (.*) \\(code (.*)\\)$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 47usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^The ClamAV port and host are not set up\\.$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 51usize , placeholders : & ["$avHost" , "$avPort"] , exception : Some ("\\RuntimeException") , regex : "^Could not connect to ClamAV via (.*):(.*)\\. Please check that ClamAV is running and reachable\\.$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ExternalClam.php" , line : 65usize , placeholders : & ["$response"] , exception : None , regex : "^Response :: (.*)$" , },
|
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/AvirWrapper.php" , line : 114usize , placeholders : & ["$e->getMessage()"] , exception : None , regex : "^(.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/AvirWrapper.php" , line : 114usize , placeholders : & ["$e->getMessage()"] , exception : None , regex : "^(.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Warn , path : "/lib/AvirWrapper.php" , line : 173usize , placeholders : & ["$status->getDetails()" , "$owner" , "$path"] , exception : None , regex : "^Infected file deleted\\. (.*) Account: (.*) Path: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Warn , path : "/lib/AvirWrapper.php" , line : 173usize , placeholders : & ["$status->getDetails()" , "$owner" , "$path"] , exception : None , regex : "^Infected file deleted\\. (.*) Account: (.*) Path: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/AvirWrapper.php" , line : 188usize , placeholders : & ["$status->getDetails()" , "$path" , "$owner"] , exception : None , regex : "^Infected file deleted\\. (.*) File: (.*) Account: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/AvirWrapper.php" , line : 188usize , placeholders : & ["$status->getDetails()" , "$path" , "$owner"] , exception : None , regex : "^Infected file deleted\\. (.*) File: (.*) Account: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AvirWrapper.php" , line : 191usize , placeholders : & ["$this->l10n->t(\n\t\t\t\t'Virus %s is detected in the file. Upload cannot be completed.',\n\t\t\t\t$status->getDetails()\n\t\t\t)"] , exception : Some ("OCP\\Files\\InvalidContentException") , regex : "^(.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/AvirWrapper.php" , line : 191usize , placeholders : & ["$this->l10n->t(\n\t\t\t\t'Virus %s is detected in the file. Upload cannot be completed.',\n\t\t\t\t$status->getDetails()\n\t\t\t)"] , exception : Some ("OCP\\Files\\InvalidContentException") , regex : "^(.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ResponseParser.php" , line : 58usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^Empty ICAP response$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Db/ItemMapper.php" , line : 40usize , placeholders : & [] , exception : Some ("InvalidArgumentException") , regex : "^$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ResponseParser.php" , line : 63usize , placeholders : & ["$icapHeader"] , exception : Some ("RuntimeException") , regex : "^Unknown ICAP response: \"(.*)\"$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ScannerFactory.php" , line : 52usize , placeholders : & ["$avMode"] , exception : Some ("InvalidArgumentException") , regex : "^Application is misconfigured\\. Please check the settings at the admin page\\. Invalid mode: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ICAPClient.php" , line : 73usize , placeholders : & ["$this->host" , "$this->port" , "$errorMessage" , "$errorCode"] , exception : Some ("RuntimeException") , regex : "^Cannot connect to \"tcp://(.*):(.*)\": (.*) \\(code (.*)\\)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ICAP.php" , line : 63usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^The ICAP port and host are not set up\\.$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/ICAP/ICAPTlsClient.php" , line : 63usize , placeholders : & ["$this->host" , "$this->port" , "$errorMessage" , "$errorCode"] , exception : Some ("RuntimeException") , regex : "^Cannot connect to \"tls://(.*):(.*)\": (.*) \\(code (.*)\\)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ICAP.php" , line : 139usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^Invalid response from ICAP server$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Activity/Provider.php" , line : 53usize , placeholders : & [] , exception : Some ("\\InvalidArgumentException") , regex : "^$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/LocalClam.php" , line : 41usize , placeholders : & ["$this->avPath"] , exception : Some ("RuntimeException") , regex : "^The antivirus executable could not be found at (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Item.php" , line : 160usize , placeholders : & ["__METHOD__" , "$e->getMessage()"] , exception : None , regex : "^(.*), exception: (.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/LocalClam.php" , line : 60usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^Error starting process$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Item.php" , line : 200usize , placeholders : & [] , exception : Some ("\\RuntimeException") , regex : "^$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/LocalClam.php" , line : 74usize , placeholders : & ["$result" , "$output"] , exception : None , regex : "^Exit code :: (.*) Response :: (.*)$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Item.php" , line : 245usize , placeholders : & ["$message" , "$this->generateExtraInfo()"] , exception : None , regex : "^(.*)(.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ScannerBase.php" , line : 178usize , placeholders : & [] , exception : None , regex : "^reinit scanner$" , },
|
||||||
crate :: LoggingStatement { level : crate :: LogLevel :: Error , path : "/lib/Item.php" , line : 252usize , placeholders : & ["$message" , "$this->generateExtraInfo()"] , exception : None , regex : "^(.*)(.*)$" , },
|
crate :: LoggingStatement { level : crate :: LogLevel :: Warn , path : "/lib/Scanner/ScannerBase.php" , line : 191usize , placeholders : & [] , exception : None , regex : "^Failed to write a chunk\\. Check if Stream Length matches StreamMaxLength in anti virus daemon settings$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 41usize , placeholders : & ["$avSocket" , "$errstr" , "$errno"] , exception : Some ("RuntimeException") , regex : "^Cannot connect to \"(.*)\": (.*) \\(code (.*)\\)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 47usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^The ClamAV port and host are not set up\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalClam.php" , line : 51usize , placeholders : & ["$avHost" , "$avPort"] , exception : Some ("RuntimeException") , regex : "^Could not connect to ClamAV via (.*):(.*)\\. Please check that ClamAV is running and reachable\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ExternalClam.php" , line : 65usize , placeholders : & ["$response"] , exception : None , regex : "^Response :: (.*)$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Exception , path : "/lib/Scanner/ExternalKaspersky.php" , line : 58usize , placeholders : & [] , exception : Some ("RuntimeException") , regex : "^The Kaspersky port and host are not set up\\.$" , },
|
||||||
|
crate :: LoggingStatement { level : crate :: LogLevel :: Debug , path : "/lib/Scanner/ExternalKaspersky.php" , line : 90usize , placeholders : & ["$response"] , exception : None , regex : "^Response :: (.*)$" , },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -6,7 +6,7 @@ final: prev: let
|
||||||
allPackages = importJSON ./versions.json;
|
allPackages = importJSON ./versions.json;
|
||||||
packages = {
|
packages = {
|
||||||
server = {"29" = allPackages.server."29";};
|
server = {"29" = allPackages.server."29";};
|
||||||
inherit (allPackages) files_accesscontrol files_antivirus;
|
inherit (allPackages) files_accesscontrol files_antivirus deck;
|
||||||
};
|
};
|
||||||
|
|
||||||
loggingFor = mode: name:
|
loggingFor = mode: name:
|
||||||
|
|
|
||||||
|
|
@ -44,5 +44,12 @@
|
||||||
"url": "https://github.com/nextcloud-releases/files_antivirus/releases/download/v5.5.7/files_antivirus-v5.5.7.tar.gz",
|
"url": "https://github.com/nextcloud-releases/files_antivirus/releases/download/v5.5.7/files_antivirus-v5.5.7.tar.gz",
|
||||||
"sha256": "sha256-Sg6AeqopaXrXrZ6loq+B5ZBjh2SHIflXaf6u/cIBqUo="
|
"sha256": "sha256-Sg6AeqopaXrXrZ6loq+B5ZBjh2SHIflXaf6u/cIBqUo="
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"deck": {
|
||||||
|
"1.13": {
|
||||||
|
"version": "1.31.1",
|
||||||
|
"url": "https://github.com/nextcloud-releases/deck/releases/download/v1.13.1/deck-v1.13.1.tar.gz",
|
||||||
|
"sha256": "sha256-AQV2JeSrQcPSh2J2oG/Kbrh2Qo/nj1+orYJymDsQLDQ="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,7 @@ impl LogLine<'_> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize, Debug)]
|
||||||
#[serde(rename_all = "PascalCase")]
|
#[serde(rename_all = "PascalCase")]
|
||||||
pub struct Exception<'a> {
|
pub struct Exception<'a> {
|
||||||
pub exception: Cow<'a, str>,
|
pub exception: Cow<'a, str>,
|
||||||
|
|
|
||||||
18
src/main.rs
18
src/main.rs
|
|
@ -17,6 +17,8 @@ mod matcher;
|
||||||
#[derive(Debug, Parser)]
|
#[derive(Debug, Parser)]
|
||||||
struct Args {
|
struct Args {
|
||||||
file: String,
|
file: String,
|
||||||
|
#[arg(long)]
|
||||||
|
unmatched: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> MainResult {
|
fn main() -> MainResult {
|
||||||
|
|
@ -38,7 +40,7 @@ fn main() -> MainResult {
|
||||||
let lines = once(first).chain(lines);
|
let lines = once(first).chain(lines);
|
||||||
let mut error_count = 0;
|
let mut error_count = 0;
|
||||||
let mut unmatched_total = 0;
|
let mut unmatched_total = 0;
|
||||||
let mut unmatched = HashMap::new();
|
let mut unmatched_counts = HashMap::new();
|
||||||
for line in lines {
|
for line in lines {
|
||||||
if line.starts_with('{') {
|
if line.starts_with('{') {
|
||||||
let parsed = match serde_json::from_str::<LogLine>(&line) {
|
let parsed = match serde_json::from_str::<LogLine>(&line) {
|
||||||
|
|
@ -51,15 +53,23 @@ fn main() -> MainResult {
|
||||||
if let Some(index) = matcher.match_log(&parsed) {
|
if let Some(index) = matcher.match_log(&parsed) {
|
||||||
counts.entry(index).or_default().add_assign(1);
|
counts.entry(index).or_default().add_assign(1);
|
||||||
} else {
|
} else {
|
||||||
|
if args.unmatched && parsed.app != "PHP" {
|
||||||
|
println!("{} :{:?}", parsed.message, &parsed.exception);
|
||||||
|
}
|
||||||
unmatched_total += 1;
|
unmatched_total += 1;
|
||||||
if let Some(entry) = unmatched.get_mut(parsed.app.as_ref()) {
|
if let Some(entry) = unmatched_counts.get_mut(parsed.app.as_ref()) {
|
||||||
*entry += 1;
|
*entry += 1;
|
||||||
} else {
|
} else {
|
||||||
unmatched.insert(parsed.app.to_string(), 1);
|
unmatched_counts.insert(parsed.app.to_string(), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if args.unmatched {
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
|
||||||
let mut counts: Vec<(_, _)> = counts.into_iter().collect();
|
let mut counts: Vec<(_, _)> = counts.into_iter().collect();
|
||||||
counts.sort_by_key(|(_, count)| *count);
|
counts.sort_by_key(|(_, count)| *count);
|
||||||
counts.reverse();
|
counts.reverse();
|
||||||
|
|
@ -68,7 +78,7 @@ fn main() -> MainResult {
|
||||||
}
|
}
|
||||||
if unmatched_total > 0 {
|
if unmatched_total > 0 {
|
||||||
eprintln!("\n{unmatched_total} lines couldn't be matched:");
|
eprintln!("\n{unmatched_total} lines couldn't be matched:");
|
||||||
for (app, count) in unmatched {
|
for (app, count) in unmatched_counts {
|
||||||
eprintln!("\t{app}: {count}");
|
eprintln!("\t{app}: {count}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ impl Matcher {
|
||||||
for (i, log_match) in self.matches.iter().enumerate() {
|
for (i, log_match) in self.matches.iter().enumerate() {
|
||||||
if log_match.line == exception.line
|
if log_match.line == exception.line
|
||||||
&& log_match.exception.as_deref() == Some(exception.exception.as_ref())
|
&& log_match.exception.as_deref() == Some(exception.exception.as_ref())
|
||||||
&& log_match.path == exception.file.as_ref()
|
&& exception.file.as_ref().ends_with(log_match.path)
|
||||||
{
|
{
|
||||||
return Some(MatchResult::Single(i));
|
return Some(MatchResult::Single(i));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue