static L<File> findProbableLogFiles() { ret [File f : findAllFiles_noDirs(javaxDataDir()) | containsWord_regexp(fileName(f), "log") //|| hasExtension(f, "txt") || eqOneOf(fileName(f), "recognized.txt", "expressions.txt", "bad-login-attemps.txt", "with-results.txt") // TODO: rename these in the corresponding program to something with "log" ]; }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019377 |
Snippet name: | findProbableLogFiles |
Eternal ID of this version: | #1019377/4 |
Text MD5: | f2ed11c92dae08b5521b782dcd637530 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-12 16:16:36 |
Source code size: | 369 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 298 / 338 |
Version history: | 3 change(s) |
Referenced in: | [show references] |