diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f1e3d20..0000000 --- a/.gitignore +++ /dev/null @@ -1,252 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ - -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config -# NuGet v3's project.json files produces more ignoreable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -orleans.codegen.cs - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# JetBrains Rider -.idea/ -*.sln.iml diff --git a/README.md b/README.md index 7d662de..2b90d16 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# log4net-sample -Sample app to test log4net appender +# sources-sample-app \ No newline at end of file diff --git a/dotnet/.gitignore b/dotnet/.gitignore new file mode 100644 index 0000000..c9e515a --- /dev/null +++ b/dotnet/.gitignore @@ -0,0 +1,35 @@ +*.swp +*.*~ +project.lock.json +.DS_Store +*.pyc +nupkg/ +packages/ + +# Visual Studio Code +.vscode + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +msbuild.log +msbuild.err +msbuild.wrn + +# Visual Studio 2015 +.vs/ \ No newline at end of file diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.sln b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.sln new file mode 100644 index 0000000..179c599 --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2010 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExcludeFieldsNETSerilog", "ExcludeFieldsNETSerilog\ExcludeFieldsNETSerilog.csproj", "{3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E7140C5A-C07E-4056-8184-E9A323392DC7} + EndGlobalSection +EndGlobal diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/App.config b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/App.config new file mode 100644 index 0000000..a1dbe64 --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/App.config @@ -0,0 +1,40 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFields.cs b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFields.cs new file mode 100644 index 0000000..99f091e --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFields.cs @@ -0,0 +1,24 @@ +using Newtonsoft.Json.Linq; +using System.Collections.Generic; + +namespace ExcludeFieldsNETSerilog +{ + class ExcludeFields + { + public string FirstName { get; set; } + public string LastName { get; set; } + public int EmployeeID { get; set; } + public string Designation { get; set; } + public string Address { get; set; } + + public string excludeFields(string jsonString, List discardedFields) + { + JObject jo = JObject.Parse(jsonString); + foreach (var discardedField in discardedFields) + { + jo.Remove(discardedField); + } + return jo.ToString(Newtonsoft.Json.Formatting.None); + } + } +} diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.csproj b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.csproj new file mode 100644 index 0000000..09f71cd --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog.csproj @@ -0,0 +1,78 @@ + + + + + Debug + AnyCPU + {3B4DEF1C-C5D4-4BAC-95F8-2BCA31087D25} + Exe + ExcludeFieldsNETSerilog + ExcludeFieldsNETSerilog + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\loggly-csharp.4.6.1.55\lib\net45\Loggly.dll + + + ..\packages\loggly-csharp-config.4.6.1.55\lib\net45\Loggly.Config.dll + + + ..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll + + + ..\packages\Serilog.2.5.0\lib\net46\Serilog.dll + + + ..\packages\Serilog.Sinks.File.3.2.0\lib\net45\Serilog.Sinks.File.dll + + + ..\packages\Serilog.Sinks.Loggly.5.3.0\lib\net45\Serilog.Sinks.Loggly.dll + + + ..\packages\Serilog.Sinks.PeriodicBatching.2.1.1\lib\net45\Serilog.Sinks.PeriodicBatching.dll + + + ..\packages\Serilog.Sinks.RollingFile.3.3.0\lib\net45\Serilog.Sinks.RollingFile.dll + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Program.cs b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Program.cs new file mode 100644 index 0000000..113d1ea --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Program.cs @@ -0,0 +1,32 @@ +using Loggly; +using Newtonsoft.Json; +using Serilog; +using System; +using System.Collections.Generic; + +namespace ExcludeFieldsNETSerilog +{ + class Program + { + static void Main(string[] args) + { + ExcludeFields ef = new ExcludeFields() { FirstName = "Jack", LastName = "Makan", EmployeeID = 100, Designation = "SSE", Address = "United States" }; + List discardedFieldsList = new List(); + discardedFieldsList.Add("FirstName"); + discardedFieldsList.Add("Designation"); + discardedFieldsList.Add("Address"); + var log = new LoggerConfiguration() + .WriteTo.Loggly() + .CreateLogger(); + ILogglyClient _loggly = new LogglyClient(); + var logEvent = new LogglyEvent(); + logEvent.Data.Add("message", "Simple message at {0}"); + logEvent.Data.Add("context", ef.excludeFields(JsonConvert.SerializeObject(ef), discardedFieldsList)); + logEvent.Data.Add("Error", new Exception("your exception message")); + for (int i = 0; i<10; i++) { + _loggly.Log(logEvent); + } + Console.ReadKey(); + } + } +} diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Properties/AssemblyInfo.cs b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e20e71d --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("ExcludeFieldsNETSerilog")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ExcludeFieldsNETSerilog")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3b4def1c-c5d4-4bac-95f8-2bca31087d25")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file diff --git a/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/packages.config b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/packages.config new file mode 100644 index 0000000..0e0031c --- /dev/null +++ b/dotnet/ExcludeFieldsNETSerilog/ExcludeFieldsNETSerilog/packages.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/dotnet/README.md b/dotnet/README.md new file mode 100644 index 0000000..6232d07 --- /dev/null +++ b/dotnet/README.md @@ -0,0 +1 @@ +# Sample App for dotnet libraries \ No newline at end of file diff --git a/java/.gitignore b/java/.gitignore new file mode 100644 index 0000000..dc7bdeb --- /dev/null +++ b/java/.gitignore @@ -0,0 +1,23 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* \ No newline at end of file diff --git a/java/README.md b/java/README.md new file mode 100644 index 0000000..31ecf17 --- /dev/null +++ b/java/README.md @@ -0,0 +1 @@ +# Setting up loggly configurations programmatically. \ No newline at end of file diff --git a/java/java-logback-programmatically/.classpath b/java/java-logback-programmatically/.classpath new file mode 100644 index 0000000..0a1dadd --- /dev/null +++ b/java/java-logback-programmatically/.classpath @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/java-logback-programmatically/.project b/java/java-logback-programmatically/.project new file mode 100644 index 0000000..113d13d --- /dev/null +++ b/java/java-logback-programmatically/.project @@ -0,0 +1,23 @@ + + + java-logback-programmatically + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/java/java-logback-programmatically/.settings/org.eclipse.core.resources.prefs b/java/java-logback-programmatically/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f9fe345 --- /dev/null +++ b/java/java-logback-programmatically/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/java/java-logback-programmatically/.settings/org.eclipse.jdt.core.prefs b/java/java-logback-programmatically/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..abec6ca --- /dev/null +++ b/java/java-logback-programmatically/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/java/java-logback-programmatically/.settings/org.eclipse.m2e.core.prefs b/java/java-logback-programmatically/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/java/java-logback-programmatically/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/java/java-logback-programmatically/pom.xml b/java/java-logback-programmatically/pom.xml new file mode 100644 index 0000000..1171a32 --- /dev/null +++ b/java/java-logback-programmatically/pom.xml @@ -0,0 +1,30 @@ + + 4.0.0 + + HTTP + java-logback-programmatically + 0.0.1-SNAPSHOT + jar + + java-logback-programmatically + http://maven.apache.org + + + UTF-8 + + + + + org.logback-extensions + logback-ext-loggly + 0.1.2 + + + junit + junit + 3.8.1 + test + + + diff --git a/java/java-logback-programmatically/src/main/java/HTTP/java_logback_programmatically/App.java b/java/java-logback-programmatically/src/main/java/HTTP/java_logback_programmatically/App.java new file mode 100644 index 0000000..5f90246 --- /dev/null +++ b/java/java-logback-programmatically/src/main/java/HTTP/java_logback_programmatically/App.java @@ -0,0 +1,60 @@ +package HTTP.java_logback_programmatically; + +import org.slf4j.LoggerFactory; +import ch.qos.logback.classic.Logger; +import ch.qos.logback.classic.LoggerContext; +import ch.qos.logback.classic.encoder.PatternLayoutEncoder; +import ch.qos.logback.classic.spi.ILoggingEvent; +import ch.qos.logback.core.ConsoleAppender; +import ch.qos.logback.ext.loggly.LogglyAppender; + +/** + * Hello world! + * + */ +public class App +{ + final static Logger rootLogger = (Logger)LoggerFactory.getLogger(App.class); + static public void main(String[] args) throws Exception { + generateError ge = new generateError(); + LoggerContext loggerContext = rootLogger.getLoggerContext(); + + PatternLayoutEncoder encoder = new PatternLayoutEncoder(); + encoder.setContext(loggerContext); + encoder.setPattern("%d{\\\"ISO8601\\\", UTC} %p %t %c %M - %m%n"); + encoder.start(); + + ConsoleAppender appender = new ConsoleAppender(); + appender.setContext(loggerContext); + appender.setEncoder(encoder); + appender.start(); + + LogglyAppender logapp = new LogglyAppender(); + logapp.setContext(loggerContext); + logapp.setName("loggly"); + logapp.setPattern("%d{\\\"ISO8601\\\", UTC} %p %t %c %M - %m%n"); + logapp.setEndpointUrl(String.format("http://logs-01.loggly.com/inputs/CUSTOMER-TOKEN/tag/logback-working")); + logapp.start(); + + rootLogger.addAppender(appender); + rootLogger.addAppender(logapp); + + rootLogger.debug("Message 1"); + rootLogger.warn("Message 2"); + rootLogger.info("Hey there.."); + ge.displayMessage(); + } +} + +class generateError { + void displayMessage() { + try { + int data = 50 / 0; + } catch (ArithmeticException e) { + System.out.println(e); + App.rootLogger.info(e.toString()); + App.rootLogger.info("I'm from different class"); + } + System.out.println("Print Message here for exception..."); + } +} \ No newline at end of file diff --git a/java/java-logback-programmatically/src/test/java/HTTP/java_logback_programmatically/AppTest.java b/java/java-logback-programmatically/src/test/java/HTTP/java_logback_programmatically/AppTest.java new file mode 100644 index 0000000..b2c373e --- /dev/null +++ b/java/java-logback-programmatically/src/test/java/HTTP/java_logback_programmatically/AppTest.java @@ -0,0 +1,38 @@ +package HTTP.java_logback_programmatically; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/java/java-logback-programmatically/target/classes/META-INF/MANIFEST.MF b/java/java-logback-programmatically/target/classes/META-INF/MANIFEST.MF new file mode 100644 index 0000000..c07654e --- /dev/null +++ b/java/java-logback-programmatically/target/classes/META-INF/MANIFEST.MF @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Built-By: amit +Build-Jdk: 1.8.0_181 +Created-By: Maven Integration for Eclipse + diff --git a/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.properties b/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.properties new file mode 100644 index 0000000..595b2c6 --- /dev/null +++ b/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Wed Oct 10 13:12:02 IST 2018 +version=0.0.1-SNAPSHOT +groupId=HTTP +m2e.projectName=java-logback-programmatically +m2e.projectLocation=/home/amit/eclipse-workspace/java-logback-programmatically +artifactId=java-logback-programmatically diff --git a/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.xml b/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.xml new file mode 100644 index 0000000..1171a32 --- /dev/null +++ b/java/java-logback-programmatically/target/classes/META-INF/maven/HTTP/java-logback-programmatically/pom.xml @@ -0,0 +1,30 @@ + + 4.0.0 + + HTTP + java-logback-programmatically + 0.0.1-SNAPSHOT + jar + + java-logback-programmatically + http://maven.apache.org + + + UTF-8 + + + + + org.logback-extensions + logback-ext-loggly + 0.1.2 + + + junit + junit + 3.8.1 + test + + + diff --git a/java/java-logback-programmatically/target/maven-archiver/pom.properties b/java/java-logback-programmatically/target/maven-archiver/pom.properties new file mode 100644 index 0000000..20fb47a --- /dev/null +++ b/java/java-logback-programmatically/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Oct 10 14:27:37 IST 2018 +version=0.0.1-SNAPSHOT +groupId=HTTP +artifactId=java-logback-programmatically diff --git a/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..f0dc58f --- /dev/null +++ b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +/home/amit/eclipse-workspace/java-logback-programmatically/src/main/java/HTTP/java_logback_programmatically/App.java diff --git a/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..b0a2f76 --- /dev/null +++ b/java/java-logback-programmatically/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +/home/amit/eclipse-workspace/java-logback-programmatically/src/test/java/HTTP/java_logback_programmatically/AppTest.java diff --git a/java/java-logback-programmatically/target/surefire-reports/HTTP.java_logback_programmatically.AppTest.txt b/java/java-logback-programmatically/target/surefire-reports/HTTP.java_logback_programmatically.AppTest.txt new file mode 100644 index 0000000..fcdc900 --- /dev/null +++ b/java/java-logback-programmatically/target/surefire-reports/HTTP.java_logback_programmatically.AppTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: HTTP.java_logback_programmatically.AppTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.004 sec diff --git a/java/java-logback-programmatically/target/surefire-reports/TEST-HTTP.java_logback_programmatically.AppTest.xml b/java/java-logback-programmatically/target/surefire-reports/TEST-HTTP.java_logback_programmatically.AppTest.xml new file mode 100644 index 0000000..769a038 --- /dev/null +++ b/java/java-logback-programmatically/target/surefire-reports/TEST-HTTP.java_logback_programmatically.AppTest.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file