Mac Server OS 10.2.8 How long are log files kept and where?

Any help will be greatly appreciated!
Where are log files kept on Mac OS 10.2.8 server?
Where do I look?
There is a user who keeps logging onto the server and
somehow modifies a file he does not have access to.
Thanks!
Tim

Different files are kept for different times, but the system-wide logs are basically in two places: /var/log/ and /Library/Logs Each user also has a ~/Library/Logs folder that mainly just deals with applications issues for that user.
If you suspect a user is fiddling too much, the last command can produce some interesting output.
You may also want to double check the user's numerical UIDs, since the machine just cares about the number, the "name" is only for human conveniencs.
Roger

Similar Messages

  • Log4j : how to get log file name and directory

    My log4j is working fine. Below is how I define the property file
    log4j.rootCategory=DEBUG, A1
    log4j.appender.A1=org.apache.log4j.RollingFileAppender
    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
    log4j.appender.A1.File=temp/log.txtI want to know, from my java program, how to retrieve my log file "temp/log.txt" because I want to display at console and notify user where to find the log file.
    Thanks

    Or perhaps I did not understand your requirement. Which of the following is it?
    1. Given some Java class, you need to do something with its source code?
    2. Given some file whose path is specified by user input or runtime configuration or compile-time constant, you need to do something with that file?
    3. Neither of the above?
    If 1: Can't do it. Don't need to do it. Don't waste your time trying. Unless you're writing something like a debugger. If so, then if you have to ask this question, you do not have the skills necessary for the broader task.
    If 2: Google for java io tutorial. Study it, try some code, and come back with a more specific question if you're still confused.
    If 3: Explain clearly what you're trying to accomplish and why you think this approach is the right one.

  • How long are iCloud backups kept for?

    It's a straightforward question which I've been unable to find an answer to as of yet.
    Also, can historic iCloud backups be transferred to a windows PC or mac?
    Thanks

    No, the documention (http://support.apple.com/kb/HT1766) says that when you restore from an iCloud backup "You will see the three most recent backups for each of the devices on which you enabled Backup".  At least, that's what the documentation says; I've never restored from an iCloud backup so I can't say if that's accurate or not.

  • How long are sent messages retained in iPhone 4

    How long are sent messages retained in iphone 4?

    As far as I know, until you delete them. However, keeping huge numbers of old text messages on your phone can take up a lot of space and can have an impact on the performance of the Messages app. I would recommend archiving them off the phone if you want to keep them. I use PhoneView on my Mac for this purpose. TouchCopy is a Windows/Mac app that I believe does the same.

  • How long are emails kept ?

    How long are emails kept?

    It depends on your internet mail service provider and any settings you may have made as to retention. I use ATT Yahoo mail and I have emails from years ago. If you use a mail service like Yahoo, the emails are retained on Yahoo's server.
     Cheers, Tom

  • How long are (sent) emails stored on icloud?

    Dear Community!
    I've been using @mac.com for a long time (several years).  How long are emails stored by Apple?  I'm trying to find an email I sent in April 2009.  Thanks!

    They are kept until you delete them.

  • My ipad has latest iTunes (11.1) but iTunes on my computer (mac 10.5.8) is now no longer compatible with ipad software and cannot sync.

    My ipad has latest iTunes (11.1) but iTunes on my computer (mac 10.5.8) is now no longer compatible with ipad software and cannot sync. The same error message appears saying my computer needs to update software, but my mac has the latest software available (albeit rather old). Can I undo the software update on ipad??? Thanks

    Thanks for your response, Niel. Is there no way of removing the last update from my ipad????
    Appreciate your help
    James

  • How long are emails stored in iCloud

    How long are e-mails stored on iCloud servers after they have been read? Is there a way to ensure they are kept indefinitely?
    Most mail seems to disappear after a month or so.

    Photostream FAQ
    http://support.apple.com/kb/ht4486

  • I deleted an app by mistake. when I tried to restore my phone from my icloud backup it wasn't there.  I need an older backup. How long are they kept?? Thank you

    I delted an app by mistake.  when i tried to restore my phone from icloud I need an older backup. How long are they kept?? I'd like to get this app and it's contents back.
    thanks

    Apple states that it keeps your last 3 iCloud backups, which would only go back a few days if you back up daily.  Also, apps are not stored in the backup, only your app data is.  The backup simply notes which apps were on your phone when it was backed up, then downloads them from the App store when you restore the backup.  If the app is no longer available in the App store, it will not be restored to the phone when you restore the backup.

  • How long redo logs keep the transactions?

    I learn Oracle and decide to do an experiment. There was a table in the test database. I deleted the file that contained this table via OS. And then I added transactions to this table.
    I did 'insert' several times, then 'commit', then 'alter system switch logfile' several times, 'alter system flush buffer_cache', 'alter system flush shared_pool' and nothing happened. I could add and take data from this table successfully. Alert log showed the error only when I shutdown the database.
    SQL> shutdown immediate
    ORA-01116: error in opening database file 13
    ORA-01110: data file 13: '/oracle/oradata/test5/POSTEMPTEST2.dbf'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    I understand that transactions are put in the redo logs at first, and then are transferred to the datafile on disk. I thought that command 'ALTER SYSTEM CHECKPOINT' writes transactions from redo logs to datafile on disk, but I was wrong. How long redo logs keep transactions? Is there the way to push data from redo logs to datafile?
    I use Oracle 10.2.0.1.0.

    i believe this time you will see the error message during your SQLsWRONG!probably you did not read the complete post of mine before saying WRONG. You tell me, if data file containing a table is deleted at OS level (in *nix), and then you try to insert data in this table and want to retrieve the data from the table (If data is not in db cache or cache has been flushed), from where data will come? Or if you want to insert some data into this table for which new extent are required to be allocated, where it will be allocated? Will your SQLs succeed or will return some error? Either SQL should return you data (which is not possible as data file is no there to fetch the data), or SQL should fail with some error message.
    I mimicked the situation on IBM AIX, following is the outcome.
    Enter user-name: system/salman
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    SQL> create table test as select * from dba_tables;
    Table created.
    SQL> alter table test move tablespace users;
    Table altered.
    SQL> insert into test select * from dba_tables;
    2500 rows created.
    SQL> /
    2500 rows created.
    SQL> /
    2500 rows created.
    SQL> commit;
    Commit complete.Now i deleted the users01.dbf file at OS level and then execute following INSERT
    SQL> insert into test select * from test;
    insert into test select * from test
    ERROR at line 1:
    ORA-01565: error in identifying file '/oracle/oradata/test/users01.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3Salman

  • Good Day CC Team, i just wanna ask if how long does my PS expires, and is there any way i could track it?

    Good Day CC Team, i just wanna ask if how long does my PS expires, and is there any way i could track it?
    i want to cancel also two acounts for a reason.

    The Photography CC purchased in March 2014 has been cancelled. The CC purchased 2013, November is active.
    Regards
    Rajshree

  • I have a ipad 4th gen with the lightning charging port. I have realised how long it takes to charge and the poor battery life which means I can't take my ipad anywhere. Is there a case that is available that will charge my ipad? I know they are out there

    I have a ipad 4th gen with the lightning charging port. I have realised how long it takes to charge and the poor battery life which means I can't take my ipad anywhere. Is there a case that is available that will charge my ipad? I know they are out there for older iPads with the 30pin charger but I can't find one for the lighning 8pin charger.

    I don't know what you mean by "poor battery life". If your iPad is working properly you should get 9-10 hours of life.

  • SQL Server 2012 Reorg Index Job Blew up the Log File

    We have a maintenance plan that nightly (1) runs dbcc checkdb on all databases, (2) reorgs indexes on all databases, compacting large objects, (3) updates statistics, etc. There are three user databases, one large, one medium, one small. Usually it uses
    a little more than 80% of the medium database's log, set to 6,700 MB. Last night the reorg index step caused the log to increase to almost 14,000 MB and then blew up because the maximum file size was set to 14,000 MB, one of the alter index commands failed
    because it ran out of log space. (Dbcc checkdb step ran successfully.) Anyone have any idea what might cause this? There is one update process on this database, it runs at 3 AM. The maintenance plan runs at 9 PM and completes by 1 AM. The medium database has
    a 21,000 MB data file, reserved space is at about 10 GB. This is a SQL 2012 Standard SP 2 running on Windows 2012 Server Standard.

    I personally like to shrink the log files once the indexes have been rebuilt and before switching back to full recovery, because as I'm going to take a full backup afterwards, having a small log file reduces the size of the backup.
    Do you grow them afterwards, or do you let the application waste time on that during peak hours?
    I have not checked, but I see no reason why the backup size would depend on the size of the log file - it's the data in the data file you back up, not the log file.
    I would say this is highly dubious.
    Erland Sommarskog, SQL Server MVP, [email protected]
    Yeah I let the application allegedly "waste" a few milisseconds a day autogrowing the log file. Common, how long do you think it takes for a log file to grow a few GB on most storage systems nowadays? As long as you set an appropriate autogrow
    interval so your log file doesn't get too fragmented (full of VLFs), you'll be perfectly fine in most situations.
    Lets say you have a logical disk dedicated to log file storage, but it is shared across multiple databases within the instance. Having allocated space for the log files means there will be not much free space left in the disk in case ANY database needs more
    space than the others due to a peak in transactional workload, even though other databases have unused space that could have been used.
    What if this same disk, for some reason, is also used to store the tempdb log file? Then all applications will become unstable.
    These are the main reasons I don't recommend people blindly crucify keeping log files small when possible. I know there are many people who disagree and I'm aware of their reasons. Maybe we just had different experiences about this subject. Maybe people
    just haven't been through the nightmare of having a corrupted system database or a crashed instance because of insuficient log space in the middle of the day.
    And you are right about the size of the backup, I didn't put it correctly. It isn't the size of the backup that gets smaller (although the backup operation will run faster, having tested this myself), but the benefit from backing up a database with a small
    log file is that you won't need the extra space to restore it in a different environment such as a BI or DEV server, where recuperability doesn't matter and the database will be on simple recovery mode.
    Restoring the database will also be faster.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Get Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server

    how to get SQL server Total DB size , Total DB free space , Total Data  & Log File Sizes and Total Data  & Log File free Sizes from a list of server 

    Hi Shivanq,
    To get a list of databases, their sizes and the space available in each on the local SQL instance.
    dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
    This article is also helpful for you to get DB and Log File size information:
    Checking Database Space With PowerShell
    I hope this helps.

  • How to find log files in Sun soalries....

    How to find log files in the SUN Solaries Os if there is any.....
    i am new to SUN Solaries Admin Can some one refer me a good book for me on sun solaries
    Thankq

    A reasonable method would be
    cat /etc/syslog.conf
    .. at least it would show you where syslog send its logs.
    .7/M.

Maybe you are looking for

  • Is there a way to lock selected file directories with password?

    I'd like to prevent third party access to selected directories in my computer. So, I'd like to be able to lock selected directories with a password, like we can do for word/XL files. I do not prefer to create a new user for my notebook as the people 

  • How to set the 'text' property of a 'Header' region dynamically?

    Hi, I have a requirement to display the 'text' property of a 'Header' region, based on a query. So I need to set the text property programatically in CO. Can I use setText("..") by getting the handler to the 'Header' region? If so, How to get the han

  • Can't Save Apple ID account password

    I am unable to save my Apple ID account password in my Apple TV. When I rent/purchase movies it asks me for the password each time. There is no checkbox asking me if I wish to have my password saved. Normally I would not save my password... however,

  • Dragging Playlists- some load to the ipod, others don't

    I have a first gen ipod set for no autofill. I have a lot of playlists in my source list. For most of the playlists, if I drag them to the ipod shuffle entry, the green plus-sign shows up and they get loaded onto my ipod. But I have a new playlist, c

  • How to Synchronize Test Instance with Production database on regular basis.

    Hello How to Synchronize Test Instance with Production database on regular basis. I want to update my Test Instance with Production ERP on daily basis without downTime.?