Skip to content

Commit

Permalink
Added other log-types that are currently in codebase, stubs for AEM
Browse files Browse the repository at this point in the history
replication log parsing
  • Loading branch information
sangupta committed Mar 15, 2016
1 parent 79ac736 commit b89b4f8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ Log-Parser
A simple Java libary to parse various kind of known log files. Currently parsing of the following
formats is supported:

* Amazon ELB logs
* Amazon AWS ELB logs
* Adobe Experience Manager Audit logs
* Adobe Experience Manager Error logs
* Adobe Experience Manager Request logs
* Adobe Experience Manager error logs
* Adobe Experience Manager Replication logs
* Adobe Experience Manager Tar Optimization logs
* Sun/Oracle JDK GC logs

Formats that will be supported sooner or later:
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/com/sangupta/logparser/LogParsers.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ public enum LogParsers {

Adobe_Experience_Manager_Tar_Optimization_Logs,

Adobe_Experience_Manager_Audit_Logs;
Adobe_Experience_Manager_Audit_Logs,

Adobe_Experience_Manager_Error_Logs,

Adobe_Experience_Manager_Replication_Logs;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.sangupta.logparser.aem.replication;

import com.sangupta.logparser.LogLine;

public class AEMReplicationLogLine extends LogLine {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.sangupta.logparser.aem.replication;

import java.io.BufferedReader;
import java.io.IOException;

import com.sangupta.logparser.LogParser;

public class AEMReplicationLogParser implements LogParser {

@Override
public String readLogLine(BufferedReader reader) throws IOException {
return reader.readLine();
}

@Override
public AEMReplicationLogLine parseLogLine(String logLine) {
return null;
}

}

0 comments on commit b89b4f8

Please sign in to comment.