<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use sas-viya CLI to create a new logging.level configuration instance for a service in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946474#M2626</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One last question about this: I ran the "sas-viya" CLI and it created the logging.level configuration but how do I know if it succeeded? or not programmatically? Is there a way to capture the HTTP response code from the "sas-viya" CLI or does it return some kind of other return code?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 06:16:54 GMT</pubDate>
    <dc:creator>EyalGonen</dc:creator>
    <dc:date>2024-10-07T06:16:54Z</dc:date>
    <item>
      <title>How to use sas-viya CLI to create a new logging.level configuration instance for a service</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946143#M2620</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use the sas-viya CLI with its "configuration" plug-in to &lt;EM&gt;create&lt;/EM&gt; a new logging.level for the "identities" service. For example, to create a "com.sas" logger with level "DEBUG".&amp;nbsp; I could not find any example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only example I found is this&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/sasadmincdc/v_056/calconfig/p0rtltqk08n6y6n1hts1n4ypqfao.htm#n04g1kdn9cqbv2n1purrm4gyp7hv" target="_blank"&gt;https://documentation.sas.com/doc/en/sasadmincdc/v_056/calconfig/p0rtltqk08n6y6n1hts1n4ypqfao.htm#n04g1kdn9cqbv2n1purrm4gyp7hv&lt;/A&gt;&amp;nbsp;but it seems irrelevant to what I seek.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe I know how to &lt;EM&gt;update&lt;/EM&gt; an existing logger, let's say from INFO to DEBUG or vice versa, but not how to &lt;EM&gt;create&lt;/EM&gt; a new logger for a service if it does not exist.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:26:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946143#M2620</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2024-10-03T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use sas-viya CLI to create a new logging.level configuration instance for a service</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946169#M2621</link>
      <description>&lt;P&gt;I think this is the file syntax you'd need to use the CLI to do this:&lt;/P&gt;
&lt;PRE&gt;{
        "version": 2,
        "accept": "application/vnd.sas.configuration.config+json",
        "name": "configurations",
        "items": [
                {
                        "metadata": {
                                "isDefault": false,
                                "mediaType": "application/vnd.sas.configuration.config.logging.level+json;version=1",
                                "services": [
                                        "identities"
                                ]
                        },
                        "version": 1,
                        "level": "DEBUG",
                        "name": "com.sas"
                }
        ]
}&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946169#M2621</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-10-03T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use sas-viya CLI to create a new logging.level configuration instance for a service</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946474#M2626</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One last question about this: I ran the "sas-viya" CLI and it created the logging.level configuration but how do I know if it succeeded? or not programmatically? Is there a way to capture the HTTP response code from the "sas-viya" CLI or does it return some kind of other return code?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 06:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946474#M2626</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2024-10-07T06:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use sas-viya CLI to create a new logging.level configuration instance for a service</title>
      <link>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946711#M2629</link>
      <description>The sas-viya CLI will return a non-zero exit code if the create fails. You can also check the configuration exists using the CLI, e.g. sas-viya configuration configurations list -d logging.level -s identities</description>
      <pubDate>Tue, 08 Oct 2024 16:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/How-to-use-sas-viya-CLI-to-create-a-new-logging-level/m-p/946711#M2629</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-10-08T16:57:42Z</dc:date>
    </item>
  </channel>
</rss>

