AWS, DevOps

Docker Logging Methods that Fit your Deployment Strategy

With the huge success of micro-services and container technologies, most of the enterprises are migrating their architecture to the container-based solution which is more reliable and flexible as compared to monolithic architecture. Moving to containerized solution like Docker, logging each container and its insights is a new...

by Mayur Rastogi
Tag: logging
24-Feb-2017

AWS, DevOps

How to set up Log.io?

Logs are very useful as it monitors and provides important information about the program such as activities, executions, real-time data etc. Log.io is a log management tool that monitors the system and provides real-time information on the system logs. It is a simple and effective application built on top of Node.js and Socket.io....

by Anup Yadav
Tag: logging
30-Nov-2016

Technology

Collecting Tomcat logs using Fluentd and Elasticsearch

In our previous blog, we have covered the basics of fluentd, the lifecycle of fluentd events and the primary directives involved. In this blog, we'll configure fluentd to dump tomcat logs to Elasticsearch. We'll also talk about filter directive/plugin and how to configure it to add hostname field in the event stream. Fluentd...

by Arun Dhyani
Tag: logging
05-Oct-2016

AWS, Database

log_output TABLE vs FILE inside Amazon RDS

Amazon RDS provides us with three different types of logs : 1) General Logs 2) Slow Query Logs 3) Error Logs   You can enable these logs by modifying the DB Parameter Group. 1) Enable General Log [js] Parameter Name : general_log Value : set the value to 1. Default is 0. [/js] 2) Enable Slowquery Log [js] ...

by Vikash Jha
Tag: logging
25-Feb-2015

Grails

Groovy Annotations for Logging

We use logging in our application to report and persist error and warning messages as well as info messages (e.g. runtime statistics) so that the messages can later be retrieved and analyzed. Initially we were getting an instance of Logger from LoggerFactory and uses it in our class for logging information, errors, exceptions, warnings...

by Neetesh Bhardwaj
Tag: logging
16-Dec-2014

Technology

@Log annotation

@Log : This annotation provides the log object in groovy class. By using it you don't need to create the Logger object, it automatically provides log object. Example: [groovy] import groovy.util.logging.Log @Log class Person { String name String address String city public void logDetails(){ ...

by Mohit Garg
Tag: logging
26-Sep-2012

Grails

Configuring Log4J for logging level specific logs of different packages into file using appenders

Recently i worked upon redirecting all the log related to a specified package in my project to a specific file. It seem very helpful as it provide precise context about run of your application and make it easier to debug as compare to low level debugging method such as println. Here we can also disable certain logs statement as per our...

by Tarun Pareek
Tag: logging
09-Jun-2010