ulr9jw
Last Updated: February 25, 2016
·
115
· dcdieci

Create dummy data with logger and remove unnecessary lines

In order to run mass tests against real data I do log data into a log file in order to create stubs,mocks or factories for factory_girl. In order to remove the logger statement containing INFO I use

grep -vwE "(INFO)" matcher_stubs.log > matcher_stubs.log2