mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2023-08-08
This commit is contained in:
@ -47,4 +47,23 @@ categories: ["Notes"]
|
||||
- After enabling the new settings I see that our log file is going to be reaallllly big... hmmmm will check tomorrow morning
|
||||
- More work on the IFPRI batch uploads
|
||||
|
||||
## 2023-08-08
|
||||
|
||||
- Apply more corrections to authors from Peter on CGSpace
|
||||
- I finally figured out a `log_line_prefix` for PostgreSQL that works for pgBadger:
|
||||
|
||||
```console
|
||||
log_line_prefix = '%t [%p]: user=%u,db=%d,app=%a,client=%h '
|
||||
```
|
||||
|
||||
- Now I can generate reports:
|
||||
|
||||
```console
|
||||
# /usr/bin/pgbadger -I -q /var/log/postgresql/postgresql-14-main.log -O /srv/www/pgbadger
|
||||
```
|
||||
|
||||
- Ideally we would run this incremental report every day on the postgresql-14-main.log.1 aka yesterday's version of the log file after it is rotated
|
||||
- Now I have to see how large the file will be...
|
||||
- I did some final updates to the ninety IFPRI records and uploaded them to DSpace Test first, then to CGSpace
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user