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

@ -19,7 +19,7 @@ Start working on some batch uploads for IFPRI
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-08/" />
<meta property="article:published_time" content="2023-08-03T11:18:36+03:00" />
<meta property="article:modified_time" content="2023-08-05T17:27:43+03:00" />
<meta property="article:modified_time" content="2023-08-07T10:48:56+02:00" />
@ -44,9 +44,9 @@ Start working on some batch uploads for IFPRI
"@type": "BlogPosting",
"headline": "August, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-08/",
"wordCount": "334",
"wordCount": "428",
"datePublished": "2023-08-03T11:18:36+03:00",
"dateModified": "2023-08-05T17:27:43+03:00",
"dateModified": "2023-08-07T10:48:56+02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -180,6 +180,24 @@ Start working on some batch uploads for IFPRI
</li>
<li>More work on the IFPRI batch uploads</li>
</ul>
<h2 id="2023-08-08">2023-08-08</h2>
<ul>
<li>Apply more corrections to authors from Peter on CGSpace</li>
<li>I finally figured out a <code>log_line_prefix</code> for PostgreSQL that works for pgBadger:</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>log_line_prefix = &#39;%t [%p]: user=%u,db=%d,app=%a,client=%h &#39;
</span></span></code></pre></div><ul>
<li>Now I can generate reports:</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span># /usr/bin/pgbadger -I -q /var/log/postgresql/postgresql-14-main.log -O /srv/www/pgbadger
</span></span></code></pre></div><ul>
<li>Ideally we would run this incremental report every day on the postgresql-14-main.log.1 aka yesterday&rsquo;s version of the log file after it is rotated
<ul>
<li>Now I have to see how large the file will be&hellip;</li>
</ul>
</li>
<li>I did some final updates to the ninety IFPRI records and uploaded them to DSpace Test first, then to CGSpace</li>
</ul>
<!-- raw HTML omitted -->