Skip to content

Instantly share code, notes, and snippets.

@muatik
Last active December 22, 2015 03:49
Show Gist options
  • Save muatik/6412938 to your computer and use it in GitHub Desktop.
Save muatik/6412938 to your computer and use it in GitHub Desktop.
{
"entries" : [
{
"project" : "project's code name",
"date" : 1378125312,
"type" : "info",
"text" : "the cache file has just been saved."
},
{
"project" : "project's code name",
"date" : 1378125312,
"type" : "error",
"text" : "an error occured during the process"
},
{
"project" : "project's code name",
"date" : 1378125312,
"type" : "debug",
"text" : "looking for the required parameters"
}
]
}
{
"name" : "The fancy Tool",
"codeName" : "theFancyOne",
"logConfig" : {
"storageType" : "mongodb",
"db.host" : "127.0.0.1",
"db.port" : "27017",
"db.username" : "sysadmin_john",
"db.password" : "super plan text password",
"db.databaseName" : "fancy",
"db.collectionName" : "logs"
},
"updateDate" : 1378125312
}
{
"name" : "The fancy Tool",
"codeName" : "theFancyOne",
"logConfig" : {
"storageType" : "mysql",
"db.host" : "127.0.0.1",
"db.port" : "3306",
"db.username" : "sysadmin_john",
"db.password" : "super plan text password",
"db.databaseName" : "fancy",
"db.collectionName" : "logs"
},
"updateDate" : 1378125312
}
{
"name" : "LogMon Log Monitoring Tool",
"codeName" : "logMon",
"logConfig" : {
"storageType" : "textFile",
"filePath" : "/var/www/logMon/log.txt"
},
"updateDate" : 1378125312
}
{
"_id" : "558",
"name" : "LogMon Log Monitoring Tool",
"codeName" : "logMon",
"logConfig" : {
"storageType" : "textFile",
"filePath" : "/var/www/logMon/log.txt"
},
"updateDate" : 1378125312
}
{
"projects" : [
{
"name" : "LogMon Log Monitoring Tool",
"codeName" : "logMon",
"logPath" : "/var/www/logMon/log.txt",
"updateDate" : 1378125312
},
{
"name" : "a fancy project",
"codeName" : "fancyOne",
"logPath" : "/var/app/fancy/log.txt",
"updateDate" : 1378125312
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment