Skip to content
Snippets Groups Projects
Commit a255530b authored by Anton Joubert's avatar Anton Joubert
Browse files

Fix typos

parent dc4a2b13
Branches
Tags v0.31.0 v0.31.0-1
No related merge requests found
...@@ -252,7 +252,7 @@ is set, we internally update the TLS logging level as well. ...@@ -252,7 +252,7 @@ is set, we internally update the TLS logging level as well.
### Additional logging targets ### Additional logging targets
Note that the the `loggingTargets` attribute says "excluding ska_logging defaults". Note that the `loggingTargets` attribute says "excluding ska_logging defaults".
Even when empty, you will still have the logging to stdout that is already provided Even when empty, you will still have the logging to stdout that is already provided
by the ska_logging library. If you want to forward logs to other targets, then you can use by the ska_logging library. If you want to forward logs to other targets, then you can use
this attribute. Since we also want logging to TLS, it should include the `"tango::logger"` this attribute. Since we also want logging to TLS, it should include the `"tango::logger"`
...@@ -325,7 +325,7 @@ method from an instance of a `tango.DeviceProxy` object. ...@@ -325,7 +325,7 @@ method from an instance of a `tango.DeviceProxy` object.
If you want file and syslog targets, you could do something like: If you want file and syslog targets, you could do something like:
`proxy.loggingTargets = ["file::/tmp/my.log", "syslog::udp://server.domain:514"]`. `proxy.loggingTargets = ["file::/tmp/my.log", "syslog::udp://server.domain:514"]`.
**Note:** There is a limit of 4 additional handlers. That the maximum length **Note:** There is a limit of 4 additional handlers. That is the maximum length
of the spectrum attribute. We could change this if there is a reasonable use of the spectrum attribute. We could change this if there is a reasonable use
case for it. case for it.
......
...@@ -443,7 +443,7 @@ class TestSKABaseDevice(object): ...@@ -443,7 +443,7 @@ class TestSKABaseDevice(object):
mocked_creator.side_effect = null_creator mocked_creator.side_effect = null_creator
# test adding console target # test console target
tango_context.device.loggingTargets = ["console::cout"] tango_context.device.loggingTargets = ["console::cout"]
assert tango_context.device.loggingTargets == ("console::cout", ) assert tango_context.device.loggingTargets == ("console::cout", )
mocked_creator.assert_called_once_with("console::cout", mock.ANY) mocked_creator.assert_called_once_with("console::cout", mock.ANY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment