Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
78b6a354
Commit
78b6a354
authored
2 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
DOC: document logging and email
parent
6b569784
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!123
REL: Release v0.6.0
,
!107
ENH: setup logging and reporting for serverside execution
Pipeline
#35041
passed
2 years ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
src/doc/getting_started/index.rst
+1
-0
1 addition, 0 deletions
src/doc/getting_started/index.rst
src/doc/getting_started/optionalfeatures.rst
+47
-0
47 additions, 0 deletions
src/doc/getting_started/optionalfeatures.rst
with
55 additions
and
0 deletions
CHANGELOG.md
+
7
−
0
View file @
78b6a354
...
...
@@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ##
### Added ###
-
Standard logging for server side execution
-
Email notification if the
`pycaosdb.ini`
contains a
`[caoscrawler]`
with
`send_crawler_notifications=True`
.
-
Creation of CrawlerRun Records that contain status information about data
integration of the crawler if the
`pycaosdb.ini`
contains a
`[caoscrawler]`
with
`create_crawler_status_records=True`
.
### Changed ###
...
...
This diff is collapsed.
Click to expand it.
src/doc/getting_started/index.rst
+
1
−
0
View file @
78b6a354
...
...
@@ -9,6 +9,7 @@ Getting Started
Installation<INSTALL>
prerequisites
helloworld
optionalfeatures
This section will help you get going! From the first installation steps to the first simple crawl.
...
...
This diff is collapsed.
Click to expand it.
src/doc/getting_started/optionalfeatures.rst
0 → 100644
+
47
−
0
View file @
78b6a354
Optional Features
=================
Email notifications
-------------------
The crawler can send email notifications if it made some changes or if
new data was inserted. This is (currently) only available if the crawler
runs as server side script of CaosDB. You need to add the following
section to your ``.pycaosdb.ini``
.. code:: ini
[caoscrawler]
send_crawler_notifications=True
public_host_url=https://example..eu
sendmail_to_address=someone@example.de
sendmail_from_address=caosdb-no-reply@example.eu
This feature uses the ``sendmail`` functionality of
``caosadvancedtools``. Thus, it uses the setting
.. code:: ini
[Misc]
sendmail = /usr/sbin/sendmail
#sendmail = /usr/local/bin/sendmail_to_file
to decide what tool is used for sending mails (use the upper one if you
want to actually send mails. See ``sendmail`` configuration in the
LinkAhead docs.
Crawler Status Records
----------------------
The crawler can insert and update Records that contain essential
information about the data integration process. This is (currently) only
available if the crawler runs as server side script of CaosDB. To enable
this, add the following to your ``.pycaosdb.ini``
.. code:: ini
[caoscrawler]
create_crawler_status_records=True
You also need to add the data model needed for this as desribed by
``crawler_run_model.yml``.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment