Add notes for 2023-08-08

This commit is contained in:
2023-08-08 12:54:39 +02:00
parent e0f9e484ee
commit 929ce9685a
32 changed files with 74 additions and 37 deletions

View File

@ -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: -->