Questions tagged [journal]

185 questions
7
votes
1 answer

Commit existing journal file in SQLite from prior terminated connection to database

I'm prototyping a script that creates large SQLite databases with a four day time limit. The time limit was reached before the script finished and the connection.commit() command would be executed. The script is dropped and the database connection…
bobbyzhivago
  • 123
  • 2
  • 7
6
votes
1 answer

Need help using NtCreateFile() to open by fileIndex

I have written a program that queries the change journal records and lists them. The change journal returns: 1) filereferencenumber( combination of fileindex.high and fileindex.low) 2) parentfilereferencenumber(same as above except it is for…
roymustang86
  • 8,054
  • 22
  • 70
  • 101
6
votes
0 answers

Do I need admin privileges to read Windows file system change journal?

I am creating synchronization software and I want to use the file system journal API for this. My application should install from the Windows Store and run under regular user permissions, without admin privileges. It will access only files under the…
Vele Yar
  • 121
  • 2
6
votes
4 answers

How to disable Android SQLite Journal file?

I am using transactions to insert multiple rows into table. But, I still see temporary sqlite-journal file being created on SD Card along with sqlite table. How do I disable creation of journal file? Thanks
Arvind
  • 187
  • 1
  • 3
  • 11
5
votes
1 answer

Continuously monitor Systemd Journals

I am working with systemd journals to create a custom log processing program. I am trying to work with sd_journal APIs but I have a couple of questions: Is it possible to listen the runtime journals (SD_JOURNAL_RUNTIME_ONLY) without polling?…
VarunPandey
  • 327
  • 1
  • 12
5
votes
1 answer

MongoDb journal in write concern

I wrote a test program to check mongodb write performance with or without journaling: Items to be inserted: 10000 case1: insert with (w = 1, j = 1) result: 10000 documents inserted in 340,620 ms (about 29 documents per second) case2: insert with…
Disposer
  • 6,201
  • 4
  • 31
  • 38
5
votes
2 answers

Reading systemd journal from Python script

I am trying to emulate this shell command in Python using the systemd libraries http://www.freedesktop.org/software/systemd/python-systemd/journal.html I am actually trying to emulate this command but within Python. journalctl --since=-5m…
phoenixdigital
  • 53
  • 1
  • 1
  • 4
4
votes
1 answer

Fail to replicate quarto elsevier template

I am currently trying to migrate from rmarkdown to quarto through rstudio platform. First step, I would like to create a scientific article based on elsevier template which could be found Text. However, I failed to replicate it. When I tried to…
4
votes
1 answer

How to manage files in /var/log/journal/ in ubuntu 18.04?

I want to learn about and manage the directory /var/log/journal/ in ubuntu 18.04 What data is logged to it and when? Is there any issue in deleting all files from that directory? Is there any way to set delete old data (eg. 1 month)?
Jifri Valanchery
  • 189
  • 5
  • 15
4
votes
4 answers

Journalctl : add _SYSTEMD_UNIT field into log printout

Using the command: /usr/bin/journalctl -o short -f | ncat {some-ip} {some port} To forward journal output to some remote log tracking app. Problem is that I'm missing the systemd unit / service name in the printout making it hard to tell which…
Nimrod007
  • 9,825
  • 8
  • 48
  • 71
4
votes
2 answers

Estimate the number of USN records on NTFS volume

When the USN journal is used for the first time, the volume's entire set of USN records must be enumerated using the FSCTL_ENUM_USN_DATA control code. This is usually a lengthy operation. Is there a way to estimate the number of records on the…
Edmund
  • 10,533
  • 3
  • 39
  • 57
3
votes
4 answers

how can I collapse all entries older than 3 months in my emacs org-mode journal file?

I have a large journal file with date entries like this: [2011-06-23 Thu] some text [2011-06-22 Wed] some more text [... 12MB of text later ...] [2000-01-01 Sat] first entry I would like to be able to configure org-mode so that only the last…
719016
  • 9,922
  • 20
  • 85
  • 158
3
votes
1 answer

WPF FrameworkPropertyMetaData Journal -- What is the point of this?

Basically, just as the title asks: What is the point of the Journal property? MSDN doesn't really explain it's actual usefulness.
michael
  • 14,844
  • 28
  • 89
  • 177
3
votes
2 answers

Crontab + Journalctl: extra messages

Disclaimer: the following describes things done for learning purposes in CentOS 7. I want to redirect the output of a crontab job to journalctl. When I have the following record, it just sends a mail to root user. # crontab -l * * * * * echo "Hello…
Ivan Kleshnin
  • 1,667
  • 2
  • 21
  • 24
3
votes
2 answers

Use awk to get value of the parameter in the array

journalctl -b showed me log like this: something something somethng aaa: 0x00000111 bbb: 0x00000222 ccc: 0x00000333 ddd: 0x00000444 something something somethng How to get value of parameter 'ccc'? For example: journalctl -b | awk '/ccc:/{print…
kk_pl
  • 85
  • 8
1
2
3
12 13