OK, that seems to be new enough and with self-consistent timestamps, it
should work.

Try fiddling with the logger all by itself, at the guile prompt, see if you
can make it work. The only issue I can think of would be with regards to
the cogserver: the logger works both with and without the cogserver, but if
you do start the cogserver, then it re-initializes (hijacks) the logger and
sends the output to a different location, where you might not be looking.

Some useful commands:

(use-modules (opencog) (opencog exec))
(use-modules (opencog logger))

; optional formating
(cog-logger-set-stdout! #t)
(cog-logger-set-timestamp! #f)
(cog-logger-set-level! "fine")

(cog-logger-info "this is an info test")
(cog-logger-debug "another test at debug level")
(cog-logger-fine "now fine grained logging")

; then this:
(use-modules (opencog ure))

;  print a list of all logger commands
,apropos logger

; try above with the ure logger:
(ure-logger-get-filename)
(ure-logger-set-stdout! #t)
(ure-logger-info "test message")


On Tue, Jan 14, 2020 at 9:20 AM Alexander Gabriel <[email protected]> wrote:

> Hi Linas,
>
> Am Dienstag, 14. Januar 2020 15:12:35 UTC schrieb linas:
>>
>> Sanity check -- do you have the latest cogutils and the latest
>> atomspace?  Are you sure you installed to the same location (e.g. you don't
>> have a second conflicting cogutils/atomspace in /opt vs /usr/local ?) Are
>> you using the opencog-github versions instead of the singularity-net
>> versions?
>>
>
> I compiled and installed directly from github master HEAD, without python3
> because that prohibited me using python2.
> Versions are:
>
> opencog:
> commit 51ee03ad5107b6b1a4a02e4d343a996b3f010cac
> Merge: 5010028 3c21ffb
> Author: Nil Geisweiller
> Date:   Mon Nov 25 11:44:03 2019 +0200
>
> ure:
> commit 128ae411f2977c3425157b90edfd07bddd3e4b1f
> Merge: 02710e6 b23a722
> Author: Vitaly Bogdanov
> Date:   Tue Dec 3 14:43:48 2019 +0300
>
> atomspace:
> commit 133516fef01f96ac8a8d16857e6a1d92912f5e84
> Merge: d774c7c f74692f
> Author: Linas Vepštas
> Date:   Tue Nov 26 01:38:58 2019 -0600
>
> cogutil:
> commit f3f2c69525b87c7302999a6f182bf491a2aaf0d3
> Merge: aa1c0f6 1a41709
> Author: Linas Vepštas
> Date:   Thu Nov 21 11:18:53 2019 -0600
>
>
> I hope that's correct?
>
> best,
> Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "opencog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/opencog/b71e0e12-b383-41f9-b186-d007a1b4c1f2%40googlegroups.com
> <https://groups.google.com/d/msgid/opencog/b71e0e12-b383-41f9-b186-d007a1b4c1f2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
cassette tapes - analog TV - film cameras - you

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/CAHrUA34QkZXD8kdV7BeFMtsy0zz%3D-jS4NSnQyBbPeRVzEuDjxw%40mail.gmail.com.

Reply via email to