Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase log file size #2917

Open
glazychev-art opened this issue Sep 4, 2023 · 0 comments
Open

Increase log file size #2917

glazychev-art opened this issue Sep 4, 2023 · 0 comments

Comments

@glazychev-art
Copy link
Contributor

glazychev-art commented Sep 4, 2023

Description

The current size of the logs of the main NSM elements (forwarder, manager) is not enough to cover all tests - the logs from the first tests are cut off.

We need to increase the size.

Example:
Log from vl3-NSE:

Aug 31 23:58:43.294�[37m [TRAC] [id:d7d242ae-9229-40b0-aed7-bed13e66350c] [type:networkService] �[0m(28.2)                              request-response={"id":"d7d242ae-9229-40b0-aed7-bed13e66350c","network_service":"vl3-basic","mechanism":{"cls":"LOCAL","type":"MEMIF","parameters":{"inodeURL":"file:///proc/1/fd/8","socketfile":"@/tmp/memif/d7d242ae-9229-40b0-aed7-bed13e66350c/memif.socket"}},"context":{"ip_context":{"src_ip_addrs":["172.16.0.2/32"],"dst_ip_addrs":["172.16.0.0/32"],"src_routes":[{"prefix":"172.16.0.0/32","nextHop":"172.16.0.0"},{"prefix":"172.16.0.0/24","nextHop":"172.16.0.0"}],"dst_routes":[{"prefix":"172.16.0.2/32"}],"excluded_prefixes":["10.96.0.0/16","10.244.0.0/16"]},"dns_context":{"configs":[{"dns_server_ips":["172.16.0.1"],"search_domains":["vl3-basic"]}]},"MTU":1440},"labels":{"nodeName":"kind-worker","podName":"alpine-6d855c5b65-jkr6t"},"path":{"index":5,"path_segments":[{"name":"alpine-6d855c5b65-jkr6t","id":"alpine-6d855c5b65-jkr6t-0","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLXZsMy9wb2QvYWxwaW5lLTZkODU1YzViNjUtamtyNnQiLCJhdWQiOlsic3BpZmZlOi8vazhzLm5zbS9ucy9uc20tc3lzdGVtL3BvZC9uc21nci1qbWc5eCJdLCJleHAiOjE2OTM1MjY5MTl9.eorwL3c_5iLHuBHCWL-r_o2eOb5LNKz5nmTv6TRm4EFEMxgiLABYvkYmGnKqdYJUqREl9C--gs2iLMiBqxb0sA","expires":{"seconds":1693526919,"nanos":767110887}},{"name":"nsmgr-jmg9x","id":"a6b1e347-c713-4a3c-bace-050ea48a48e3","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL25zbWdyLWptZzl4IiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLXZwcC1nd2RoOCJdLCJleHAiOjE2OTM1MjY5MjB9.JqH7O8ZbnelJpJd7oqkUu1O4NIzlCB5JZuotv0NSIREa9ILike0O5ZPPTvqzvWCxpmWQmZOetax6wXz2liQqCg","expires":{"seconds":1693526920,"nanos":149253772}},{"name":"forwarder-vpp-gwdh8","id":"27daa8ae-fb28-493b-a6e5-ac51b1f30fd2","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL2ZvcndhcmRlci12cHAtZ3dkaDgiLCJhdWQiOlsic3BpZmZlOi8vazhzLm5zbS9ucy9uc20tc3lzdGVtL3BvZC9uc21nci1sZzh6aiJdLCJleHAiOjE2OTM1MjY5MjF9.1nUDtKuF2kN2D5mONcs_JwRtI6IqY4LHJukKRaudUl4fP1eSyIY-X8nXgUWlEur8QJ7ofwuCfYbF_QOU6SvaLw","expires":{"seconds":1693526921,"nanos":796067584},"metrics":{"client_drops":"0","client_rx_bytes":"0","client_rx_packets":"0","client_tx_bytes":"0","client_tx_packets":"0","server_drops":"0","server_rx_bytes":"0","server_rx_packets":"0","server_tx_bytes":"0","server_tx_packets":"0"}},{"name":"nsmgr-lg8zj","id":"ebfa3317-9b14-498c-91bd-f49f9a105b26","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL25zbWdyLWxnOHpqIiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLXZwcC1nd3c2NCJdLCJleHAiOjE2OTM1MjY5MjJ9.E6ecXoPcZo7Eqw2r84OjvhFA9EuNy83WWuASqT9eM_jj2NVDhmy55Paki1Cag2VycGaJecCARAgzNq1GXIrSPQ","expires":{"seconds":1693526922,"nanos":145751196}},{"name":"forwarder-vpp-gww64","id":"65d425e0-a50e-4cc9-b319-f2547c9f053d","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL2ZvcndhcmRlci12cHAtZ3d3NjQiLCJhdWQiOlsic3BpZmZlOi8vazhzLm5zbS9ucy9ucy12bDMvcG9kL25zZS12bDMtdnBwLTY4YzVmNWRiYi1ka3FucCJdLCJleHAiOjE2OTM1MjY5MjN9.3eXPBLtVGmi17XkTEN5KlfxOrDbPgZFTywPwR1I70L8NVE1jqVorp1mR9wzBjFMaTpMKlZP_1SaEwTDbwh6-ng","expires":{"seconds":1693526923,"nanos":214034359},"metrics":{"client_drops":"0","client_rx_bytes":"0","client_rx_packets":"0","client_tx_bytes":"0","client_tx_packets":"0","server_drops":"0","server_rx_bytes":"0","server_rx_packets":"0","server_tx_bytes":"0","server_tx_packets":"0"}},{"name":"nse-vl3-vpp-68c5f5dbb-dkqnp","id":"d7d242ae-9229-40b0-aed7-bed13e66350c","token":"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLXZsMy9wb2QvbnNlLXZsMy12cHAtNjhjNWY1ZGJiLWRrcW5wIiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLXZwcC1nd3c2NCJdLCJleHAiOjE2OTM1MjY5MjN9.Pfbmk8LuyhhLAvU0vCFFudT4YQXv9SRBx153IJDSCQs__9DOntolwetsV9P3FwenLqenxbij8XyRHhzx_k3nIA","expires":{"seconds":1693526923,"nanos":220039735}}]},"network_service_endpoint_name":"nse-vl3-vpp-68c5f5dbb-dkqnp","payload":"IP"}

Log from forwarder-vpp-gww64 starts with:

Sep  1 00:00:04.364�[37m [TRAC] [id:bb8b6416-9f18-412a-b2ae-b902a21a4e81] [type:networkService] �[0m(1) ⎆ sdk/pkg/networkservice/common/updatepath/updatePathServer.Close()

Log from nsmgr-lg8zj starts with:

Aug 31 23:59:08.669�[37m [TRAC] [id:nsc-memif-58fdd769bf-6nfks-0] [type:networkService] �[0m(1) ⎆ sdk/pkg/networkservice/common/updatepath/updatePathServer.Request()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant