Re: Ensure uniqueness without installing DB



On May 18, 10:40 am, David Segall <d...@xxxxxxxxxxxxxxx> wrote:
Leeh <Leeh.c...@xxxxxxxxx> wrote:
Hi,

I'd like to log some data to a log file (could be any format), the
goal to make the entry unique (for example, each entry in the file
have an unique address). Can I accomplish this without installing any
database in the machine that collecting these logs? This is on Windows
Server platform.
Thanks!

Leeh

A [G|U]UIDhttp://www.ietf.org/rfc/rfc4122.txt?

Yeah, or you can use a serial number/timestamp/hash, or, if it's an
append only log file, each entry already has a unique 'address': its
file position.

It would be nice to know the circumstances this data is consumed/
queried.

.



Relevant Pages

  • Re: [OpenVMS Alpha V7.3-2] Batch/Print Job Numbering
    ... $ SUBMIT/qualifierfilespec/HOLD ... listing of every entry number used for that job in ascending order by ... Imagine his queue numbers run from 1 to 1000. ... ...is output to the log file, that will help naarow it down, but not ...
    (comp.os.vms)
  • Re: Help - (getting intermittent 404s)- This sites my last hope!
    ... The entry below that looks funny, ... However, as Robear mentioned, you really need to post your HJT log file to one of the forums he mentioned to have a real expert interpret it. ... You said that tool can help me to fix things but I need to know really, ... I end up with a damaged IP stack (Dont think its the browser itself as Opera ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: [OpenVMS Alpha V7.3-2] Batch/Print Job Numbering
    ... to find out why entry x failed. ... Sorry, didn't have a queue entry handy to use as an example, but that's ... ....is output to the log file, that will help naarow it down, but not ... Unofficial OpenVMS Hobbyist Support Page: ...
    (comp.os.vms)
  • Re: [OpenVMS Alpha V7.3-2] Batch/Print Job Numbering
    ... $ SUBMIT/qualifierfilespec/HOLD ... listing of every entry number used for that job in ascending order by ... Imagine his queue numbers run from 1 to 1000. ... ...is output to the log file, that will help naarow it down, but not ...
    (comp.os.vms)
  • Re: unix shell script ignores exit when in function that is piped to tee
    ... > I thought calling a function within a script did NOT create sub-shells. ... is going to be able to alter the log file to cover up any inappropriate ... entry in the log to the previous entry. ... The easiest way to use crypt to ...
    (comp.unix.shell)