Currently we have 10 thoundands log messages in the source codes which is maintained by different groups.
Some messages may be similar, but the sentence is not the same. My purpose is to create a centralized file which contains the unified message for reference.
printf("Failed to open the file %s", file)
printf("%s: failed to open file %s", TIMESTAMP, file)
printf("Failed to create the file %s")
I can extract all the message body which is in bold.They are not strict English sentence. but manually categorizing them takes too much time.
Is there a way to automatically categorizing the logs? I just want to reduce the manual work.