User login and password change is logged by PAM, loglevel is info.debug.
It matches the line
in /etc/syslog.conf
Also events with higher priority, for example a system reboot, match the *.info so goes to the log file /var/adm/syslog/syslog.log
Sorry, couldn't really think of a simple subject/title.
So, I have a log file, and the dates are displayed like so:
2009-03-05 02:49:44
So the first and second field are the date/time. I can change them into a unix timestamp easily with:
date -d "2009-03-05 02:49:44" +%s
However,... (17 Replies)
i want to collect new logs only from a existing logfile and the new logs should be written both existing logfile and a new file..
which command i have to use for this.
Regards
Vijay, (0 Replies)
Hi
I greatly appreciate the forum and the people here very helpful :)
I could able to tar all the directories, sub dirs and the files. But unable to tar all the directories excluding the log and text files. Can anyone please advise the exact command to use for excluding .log and .txt?
PS:... (4 Replies)
Hi,
Yesterday I installed and configured logrotate on my Debian machine. I was expecting this to run at 06:25 in the morning and it actually did. All my old logs were compressed and zipped but the new logs were all with size equal to 0 bytes. Processes, while still running ok, they were not... (2 Replies)
Hi ,
I have a Data cleansing process which creates different log file for each step , when the process runs it creates following log files in below order:
p1_tranfrmr_log.txt
p1_tranfrmr_stats.txt
p2_globrtr_log.txt
p2_globrtr_stats.txt
p3_cusparse_log.txt
p3_cusparse_stats.txt
'
'... (8 Replies)
Hi
Please help me in finding a solution for tailing multiple log files and writing all of them into one common file.
I have 4 log files with same name in 4 different folders.
Whenever I post a Request - any one of these 4 log files gets updated with some log detail in the below format :
... (5 Replies)
hello,
i just want to know logs files for these actions listed below :
- User Account Creation
- User Account Deletion
- Failed and or Successful User Password Changes
- Failed Login Activities for all User Users
- System Reboot or and shutdown
help appreciated... (6 Replies)
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
ledgersmb::dbobject::asset_class
LedgerSMB::DBObject::Asset_Class(3pm) User Contributed Perl Documentation LedgerSMB::DBObject::Asset_Class(3pm)NAME
LedgerSMB::DBObject::Asset_Class - LedgerSMB Base Class for Asset Classes
SYNOPSIS
This library contains the base utility functions for creating, saving, and retrieving depreciation categories of assets.
STANDARD PROPERTIES
id Integer ID of record.
lable
Text description of asset class
asset_account_id
Integer id of asset account.
dep_account_id
Integer id of depreciation account.
method
Integer id of depreciation method.
METHODS
save
Properties used: id: (Optional) ID of existing class to overwrite. asset_account_id: Account id to store asset values dep_account_id:
Account id for depreciation information method: ID of depreciation method label: Name of the asset class unit_label: Label of the
depreciation unit
Typically sets ID if no match found or if ID not provided.
get_metadata
sets:
asset_accounts to arrayref of asset accounts dep_accounts to arrayref of depreciation accounts dep_methods to arrayrefo of depreciation
methods
get_asset_class()
Requires id to be set.
Sets all other standard properties if the record is found.
list_asset_classes
Sets classes to a list of all asset classes, ordered as per db.
Copyright (C) 2010, The LedgerSMB core team.
This file is licensed under the Gnu General Public License version 2, or at your option any later version. A copy of the license should
have been included with your software.
perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Asset_Class(3pm)