Skip to content

Commit

Permalink
fix: simplify log filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed May 23, 2024
1 parent 109633c commit ed5340e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/file-handlers/log-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,7 @@ async function filterLog(src: string): Promise<string> {
input: fs.createReadStream(src).on('error', onError),
output: fs.createWriteStream(dest).on('error', onError),
include: ['Detox', 'ReactNativeJS', 'com.facebook.react.log', /\s[EF]\s/],
exclude: [
'com.apple.BackBoard',
'com.apple.FrontBoard',
'com.apple.HealthKit',
'com.apple.Sleep',
'com.apple.WebKit',
'com.apple.activitykit',
'com.apple.containermanager',
'com.apple.defaults',
'com.apple.mobileassetd',
'com.apple.mobiletimer',
'com.apple.network',
'com.apple.runningboard',
'com.apple.sharing',
'com.apple.ttsasset',
'(CFNetwork)',
],
exclude: ['[com.apple.', '(CFNetwork)'],
transform: (s) => s.replace(/^\S*\s*/, ''),
});

Expand Down

0 comments on commit ed5340e

Please sign in to comment.